This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] tests: unset VALGRIND_CMD before running deleted.

We don't want to run the deleted test process under valgrind then
eu-stack will see the valgrind process backtrace.

Signed-off-by: Mark Wielaard <>
 tests/ChangeLog      | 4 ++++
 tests/ | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/tests/ChangeLog b/tests/ChangeLog
index a6111af..6b76248 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,9 @@
 2014-10-02  Mark Wielaard  <>
+	* Unset VALGRIND_CMD before running deleted.
+2014-10-02  Mark Wielaard  <>
 	* (check_PROGRAMS): Add aggregate_size.c.
 	(TESTS): Add
 	(EXTRA_DIST): Add, testfile-sizes1.o.bz2
diff --git a/tests/ b/tests/
index b3f17ff..8c4d928 100755
--- a/tests/
+++ b/tests/
@@ -19,10 +19,18 @@
 tempfiles deleted
 cp -p ${abs_builddir}/deleted ${abs_builddir}/ .
+# We don't want to run the deleted process under valgrind then
+# stack will see the valgrind process backtrace.
 pid=$(testrun ${abs_builddir}/deleted)
 sleep 1
 rm -f deleted
 tempfiles bt
 # It may have non-zero exit code with:
 # .../elfutils/src/stack: dwfl_thread_getframes tid 26376 at 0x4006c8 in .../elfutils/tests/deleted: no matching address range
 testrun ${abs_top_builddir}/src/stack -p $pid >bt || true

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]