tests/run.sh: Use --search instead of $LUA_PATH
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
24bb38969d
commit
71049a67f7
|
@ -82,11 +82,10 @@ fi
|
|||
|
||||
cd $build_dir
|
||||
|
||||
LUA_PATH="$(lua -e 'print(package.path)');lib/?.lua;lib/?/init.lua"
|
||||
AWESOME_OPTIONS="$AWESOME_OPTIONS --search lib/"
|
||||
# Add test dir (for _runner.lua).
|
||||
LUA_PATH="$LUA_PATH;$this_dir/?.lua"
|
||||
AWESOME_OPTIONS="$AWESOME_OPTIONS --search $this_dir"
|
||||
XDG_CONFIG_HOME="./"
|
||||
export LUA_PATH
|
||||
export XDG_CONFIG_HOME
|
||||
|
||||
cd - >/dev/null
|
||||
|
|
Loading…
Reference in New Issue