aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYichun Zhang (agentzh) <agentzh@gmail.com>2015-11-04 22:16:23 +0800
committerYichun Zhang (agentzh) <agentzh@gmail.com>2015-11-04 22:16:23 +0800
commitfab1440c3268fa415d098ff37bf0f929eeb53844 (patch)
treeca0ca7c82fce81f710d96ebd82c2101102e7c94a /tests
parent27abfdefedc8f7c161e440114b75d2f52425621b (diff)
downloadlua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.tar.gz
lua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.tar.bz2
lua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.zip
tests: made the valgrind testing mode more obvious.
Diffstat (limited to 'tests')
-rw-r--r--tests/TestLua.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/TestLua.pm b/tests/TestLua.pm
index cd22d83..b029a72 100644
--- a/tests/TestLua.pm
+++ b/tests/TestLua.pm
@@ -34,6 +34,7 @@ sub run_test ($) {
34 my @cmd; 34 my @cmd;
35 35
36 if ($ENV{TEST_LUA_USE_VALGRIND}) { 36 if ($ENV{TEST_LUA_USE_VALGRIND}) {
37 warn "$name\n";
37 @cmd = ('valgrind', '-q', '--leak-check=full', 'lua', 'test_case.lua'); 38 @cmd = ('valgrind', '-q', '--leak-check=full', 'lua', 'test_case.lua');
38 } else { 39 } else {
39 @cmd = ('lua', 'test_case.lua'); 40 @cmd = ('lua', 'test_case.lua');