aboutsummaryrefslogtreecommitdiff
path: root/tests/TestLua.pm
diff options
context:
space:
mode:
authorYichun Zhang (agentzh) <agentzh@gmail.com>2017-11-15 20:23:23 -0800
committerYichun Zhang (agentzh) <agentzh@gmail.com>2017-11-15 20:23:23 -0800
commitefd56ddb9f4571afbd3232672efd7ff4da3beae5 (patch)
tree0232108ffd7dd3d6d547b4d7fe374b3cabe1cf54 /tests/TestLua.pm
parentbf7e15d1b341d04c4e06bc6fc1c4e2c37f29b1ab (diff)
downloadlua-cjson-efd56ddb9f4571afbd3232672efd7ff4da3beae5.tar.gz
lua-cjson-efd56ddb9f4571afbd3232672efd7ff4da3beae5.tar.bz2
lua-cjson-efd56ddb9f4571afbd3232672efd7ff4da3beae5.zip
tests: now we use luajit to run the test suite.
Diffstat (limited to 'tests/TestLua.pm')
-rw-r--r--tests/TestLua.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestLua.pm b/tests/TestLua.pm
index b029a72..64372ad 100644
--- a/tests/TestLua.pm
+++ b/tests/TestLua.pm
@@ -35,9 +35,9 @@ sub run_test ($) {
35 35
36 if ($ENV{TEST_LUA_USE_VALGRIND}) { 36 if ($ENV{TEST_LUA_USE_VALGRIND}) {
37 warn "$name\n"; 37 warn "$name\n";
38 @cmd = ('valgrind', '-q', '--leak-check=full', 'lua', 'test_case.lua'); 38 @cmd = ('valgrind', '-q', '--leak-check=full', 'luajit', 'test_case.lua');
39 } else { 39 } else {
40 @cmd = ('lua', 'test_case.lua'); 40 @cmd = ('luajit', 'test_case.lua');
41 } 41 }
42 42
43 run3 \@cmd, undef, \$res, \$err; 43 run3 \@cmd, undef, \$res, \$err;