From 6915cad1274a8495439b41d5046daeef24d2c36b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 22 Dec 2007 00:47:44 -0600 Subject: r26560: Add script for running in valgrind. (This used to be commit cb5d6a9ee27cea4a7a34c3249eed55f601630b82) --- source4/script/valgrind_run | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 source4/script/valgrind_run (limited to 'source4/script/valgrind_run') diff --git a/source4/script/valgrind_run b/source4/script/valgrind_run new file mode 100644 index 0000000000..6aa54c70f1 --- /dev/null +++ b/source4/script/valgrind_run @@ -0,0 +1,2 @@ +#!/bin/sh +valgrind -q --db-attach=yes --num-callers=30 $@ -- cgit From af7e3dadf9b26cbd817ae5638d37796482694282 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 22 Dec 2007 00:47:48 -0600 Subject: r26561: Fix make gdbtest, valgrindtest and testenv for shared libs. (This used to be commit d2b9055bc032506849827d6fab2d2b9d35d132e2) --- source4/script/valgrind_run | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/script/valgrind_run') diff --git a/source4/script/valgrind_run b/source4/script/valgrind_run index 6aa54c70f1..45361c22b1 100644 --- a/source4/script/valgrind_run +++ b/source4/script/valgrind_run @@ -1,2 +1,7 @@ #!/bin/sh -valgrind -q --db-attach=yes --num-callers=30 $@ + +ENV="$1" + +shift 1 + +$ENV valgrind -q --db-attach=yes --num-callers=30 $@ -- cgit From bcdc491058d8b9ca890a9bdc0635d839d41e8fd8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 3 Jan 2008 03:31:14 -0600 Subject: r26647: Mark 'valgrind_run' as executable (This used to be commit d00b87caffdcf8af40054d3325197040cc75b6eb) --- source4/script/valgrind_run | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 source4/script/valgrind_run (limited to 'source4/script/valgrind_run') diff --git a/source4/script/valgrind_run b/source4/script/valgrind_run old mode 100644 new mode 100755 -- cgit From 3dddbb5e26c4fc74cbdd0f6fa68669fe4d07a84e Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 18 Mar 2008 10:53:25 +0100 Subject: make: Fix make valgrindtest-env (This used to be commit f56912e3b545325e941ee898337c5483ec435e39) --- source4/script/valgrind_run | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/script/valgrind_run') diff --git a/source4/script/valgrind_run b/source4/script/valgrind_run index 45361c22b1..5171d171a7 100755 --- a/source4/script/valgrind_run +++ b/source4/script/valgrind_run @@ -4,4 +4,6 @@ ENV="$1" shift 1 -$ENV valgrind -q --db-attach=yes --num-callers=30 $@ +CMD="$ENV valgrind -q --db-attach=yes --num-callers=30 $@" +echo $CMD +eval $CMD -- cgit