Lua test-suite can now be run out of source
This commit is contained in:
parent
16039ce426
commit
2071b7d157
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ lua_no_module_global.%: SWIGOPT += -nomoduleglobal
|
||||||
# a file is found which has _runme.lua appended after the testcase name.
|
# a file is found which has _runme.lua appended after the testcase name.
|
||||||
run_testcase = \
|
run_testcase = \
|
||||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
||||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(LUA) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
|
env LUA_PATH="$(srcdir)/?.lua;" $(RUNTOOL) $(LUA) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean: (does nothing, we dont generate extra lua code)
|
# Clean: (does nothing, we dont generate extra lua code)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue