diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-05 14:01:40 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-06-11 11:03:13 +0200 |
commit | 95e9915074c8ac1f6eefa4d8d986de7a4bd7d2ca (patch) | |
tree | 968da1c7a8fbd0a36173f72ee4d6b59e0048e91c /src/libstrongswan/tests/test_runner.c | |
parent | 2b4902973b95bbd8063fab612c325e302c648d29 (diff) | |
download | strongswan-95e9915074c8ac1f6eefa4d8d986de7a4bd7d2ca.tar.bz2 strongswan-95e9915074c8ac1f6eefa4d8d986de7a4bd7d2ca.tar.xz |
Enable leak detective for all test cases
Diffstat (limited to 'src/libstrongswan/tests/test_runner.c')
-rw-r--r-- | src/libstrongswan/tests/test_runner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/tests/test_runner.c b/src/libstrongswan/tests/test_runner.c index 5f3b2d397..2cce42b27 100644 --- a/src/libstrongswan/tests/test_runner.c +++ b/src/libstrongswan/tests/test_runner.c @@ -25,7 +25,7 @@ int main() int nf; /* test cases are forked and there is no cleanup, so disable leak detective. - * can be enabled for individual tests with leak_detective_t.set_state */ + * if test_suite.h is included leak detective is enabled in test cases */ setenv("LEAK_DETECTIVE_DISABLE", "1", 1); /* redirect all output to stderr (to redirect make's stdout to /dev/null) */ dup2(2, 1); |