diff options
| author | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2015-11-04 22:16:23 +0800 |
|---|---|---|
| committer | Yichun Zhang (agentzh) <agentzh@gmail.com> | 2015-11-04 22:16:23 +0800 |
| commit | fab1440c3268fa415d098ff37bf0f929eeb53844 (patch) | |
| tree | ca0ca7c82fce81f710d96ebd82c2101102e7c94a | |
| parent | 27abfdefedc8f7c161e440114b75d2f52425621b (diff) | |
| download | lua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.tar.gz lua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.tar.bz2 lua-cjson-fab1440c3268fa415d098ff37bf0f929eeb53844.zip | |
tests: made the valgrind testing mode more obvious.
| -rw-r--r-- | tests/TestLua.pm | 1 |
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'); |
