Thomas Haller
afb885300f
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.
(cherry picked from commit 2a5d17eb5f )
2015-06-19 11:52:50 +02:00
Lubomir Rintel
a48d92d525
tests: delete the valgrind logs if they're empty
...
(cherry picked from commit df0676ab00 )
2015-06-19 11:52:50 +02:00
Lubomir Rintel
c2233f4484
tests: don't limit the valgrind tracebacks to 12 frames
...
The glib tracebacks are typically longer.
(cherry picked from commit d909e76d9e )
2015-06-19 11:52:50 +02:00
Lubomir Rintel
2829fadcc1
tests: be a bit more helpful when valgrind tests fail
...
(cherry picked from commit dd959087a2 )
2015-06-19 11:52:50 +02:00
Thomas Haller
38b2331440
test: fix running valgrind tests with NMTST_NO_VALGRIND
...
Fixes: 6463ce5dd9
(cherry picked from commit ce3d1533cc )
2015-06-19 11:52:50 +02:00
Lubomir Rintel
fe3e32c034
tests: use the TAP formatter
...
The test results in standard format are easily integrated into CI systems.
(cherry picked from commit 6463ce5dd9 )
2015-06-19 11:52:50 +02:00
Lubomir Rintel
0e20868f4f
tests: always spawn private d-bus
...
Parallel test runs would not be possible without this.
(cherry picked from commit d0e25ac8be )
2015-06-19 11:52:50 +02:00
Thomas Haller
ca7aac000c
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.
(cherry picked from commit 95a750e4fa )
2015-03-13 11:50:50 +01:00
Thomas Haller
fed9958ae4
tests: fail valgrind script if log file is non-empty
...
(cherry picked from commit cfa4560073 )
2015-03-13 11:50:05 +01:00
Thomas Haller
26406d0868
libnm/tests: enable valgrind for libnm tests
...
(cherry picked from commit e7356ef0a6 )
2015-03-13 11:50:05 +01:00
Thomas Haller
c3bd16c2b6
tests: fix valgrind script to handle exit value 77 (skip)
...
(cherry picked from commit 9a2c0451a4 )
2015-02-06 13:02:37 +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