You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try just to execute the current test suite by instruction from the README:
luarocks install lunit
luarocks install lua-cjson
luarocks install luaposix
luarocks install luasocket
luarocks install luasec
make test
But getting this strange error in output:
root@c01a546084c0:/docker# make test
luacheck .
Checking raven/init.lua OK
Checking raven/senders/luasocket.lua OK
Checking raven/senders/ngx.lua OK
Checking raven/senders/reference.lua OK
Checking raven/senders/test.lua OK
Checking raven/util.lua OK
Total: 0 warnings / 0 errors in 6 files
tsc tests/*.lua
14 tests 14 passed 100 assertions 0 failed 0 errors 0 unassertive 0 pending
sed -e "s|%PWD%|$PWD|" tests/sentry.conf > tests/sentry.conf.out
touch empty-file
resty --http-include $PWD/tests/sentry.conf.out -e 'require("luarocks.loader"); require("telescope.runner")(arg)' empty-file tests/resty/*.lua
ERROR: (command line -e):1: module 'telescope.runner' not found:No LuaRocks module found for telescope.runner
no field package.preload['telescope.runner']
no file '/usr/local/openresty/site/lualib/telescope/runner.ljbc'
no file '/usr/local/openresty/site/lualib/telescope/runner/init.ljbc'
no file '/usr/local/openresty/lualib/telescope/runner.ljbc'
no file '/usr/local/openresty/lualib/telescope/runner/init.ljbc'
no file '/usr/local/openresty/site/lualib/telescope/runner.lua'
no file '/usr/local/openresty/site/lualib/telescope/runner/init.lua'
no file '/usr/local/openresty/lualib/telescope/runner.lua'
no file '/usr/local/openresty/lualib/telescope/runner/init.lua'
no file './telescope/runner.lua'
no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/telescope/runner.lua'
no file '/usr/local/share/lua/5.1/telescope/runner.lua'
no file '/usr/local/share/lua/5.1/telescope/runner/init.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/telescope/runner.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/telescope/runner/init.lua'
no file '/root/.luarocks/share/lua/5.1/telescope/runner.lua'
no file '/root/.luarocks/share/lua/5.1/telescope/runner/init.lua'
no file '/usr/local/openresty/site/lualib/telescope/runner.so'
no file '/usr/local/openresty/lualib/telescope/runner.so'
no file './telescope/runner.so'
no file '/usr/local/lib/lua/5.1/telescope/runner.so'
no file '/usr/local/openresty/luajit/lib/lua/5.1/telescope/runner.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/root/.luarocks/lib/lua/5.1/telescope/runner.so'
no file '/usr/local/openresty/site/lualib/telescope.so'
no file '/usr/local/openresty/lualib/telescope.so'
no file './telescope.so'
no file '/usr/local/lib/lua/5.1/telescope.so'
no file '/usr/local/openresty/luajit/lib/lua/5.1/telescope.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/root/.luarocks/lib/lua/5.1/telescope.so'
stack traceback:
(command line -e):1: in function 'inline_gen'
init_worker_by_lua:53: in function <init_worker_by_lua:52>
[C]: in function 'xpcall'
init_worker_by_lua:61: in function <init_worker_by_lua:59>
make: *** [Makefile:16: test] Error 1
How to reproduce
Clone the master branch of the repository and go inside a root directory.
As you can see, I've did luarocks install telescope 0.6.0-1 to Dockerfile. Without these I got error about tsc command. I think we should add this command to README.md at least because it required to run the tests.
But this library haven't telescope.runner package. Can you advice how to fix the issue?
The text was updated successfully, but these errors were encountered:
Hello!
I try just to execute the current test suite by instruction from the README:
But getting this strange error in output:
How to reproduce
Clone the master branch of the repository and go inside a root directory.
My environment is Docker image:
Dump this content to
Dockerfile
file in the root of the repository. Then run these commands:Then just execute
make test
inside the container.As you can see, I've did
luarocks install telescope 0.6.0-1
toDockerfile
. Without these I got error abouttsc
command. I think we should add this command toREADME.md
at least because it required to run the tests.But this library haven't
telescope.runner
package. Can you advice how to fix the issue?The text was updated successfully, but these errors were encountered: