Thomas Haller
2a5d17eb5f
valgrind: rework run-test-valgrind.sh script not to print unrelated message
...
If the valgrind logfile is empty, don't log an error message with
the location of the logfile.
Also, if the test didn't fail due to memleaks, log a different message.
2015-06-04 17:48:34 +02:00
Lubomir Rintel
df0676ab00
tests: delete the valgrind logs if they're empty
2015-06-04 14:29:10 +02:00
Lubomir Rintel
d909e76d9e
tests: don't limit the valgrind tracebacks to 12 frames
...
The glib tracebacks are typically longer.
2015-06-04 14:29:10 +02:00
Thomas Haller
ce3d1533cc
test: fix running valgrind tests with NMTST_NO_VALGRIND
...
Fixes: 6463ce5dd9
2015-05-26 15:34:19 +02:00
Lubomir Rintel
dd959087a2
tests: be a bit more helpful when valgrind tests fail
2015-05-26 13:51:45 +02:00
Lubomir Rintel
6463ce5dd9
tests: use the TAP formatter
...
The test results in standard format are easily integrated into CI systems.
2015-05-26 13:51:45 +02:00
Lubomir Rintel
d0e25ac8be
tests: always spawn private d-bus
...
Parallel test runs would not be possible without this.
2015-05-26 13:51:44 +02:00
Thomas Haller
95a750e4fa
tests: allow running tests without valgrind by setting NMTST_NO_VALGRIND
...
When configuring with --with-valgrind, tests will be invoked
via valgrind. That significantly slows down the tests. Allow
user to set the environment variable NMTST_NO_VALGRIND to invoke
tests directly, even when valgrind was enabled at configure time.
2015-02-09 15:49:58 +01:00
Thomas Haller
cfa4560073
tests: fail valgrind script if log file is non-empty
2015-02-09 12:10:13 +01:00
Thomas Haller
e7356ef0a6
libnm/tests: enable valgrind for libnm tests
2015-02-09 12:10:13 +01:00
Thomas Haller
9a2c0451a4
tests: fix valgrind script to handle exit value 77 (skip)
2015-02-06 12:58:42 +01:00
Pavel Šimerda
439473e9a4
valgrind: print absolute path
...
Relative paths in makefiles have different anchor than the current shell
directory.
2013-07-30 11:39:28 +02:00
Pavel Šimerda
b38f76cdb4
build: use a helper script for all valgrind tests
2013-07-26 19:08:03 +02:00