From: Florian Krohm Date: Thu, 23 Oct 2025 21:10:57 +0000 (+0000) Subject: s390x testcases: Fix valgrind invocation X-Git-Tag: VALGRIND_3_26_0~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7590f0e28460af1b46709e235126302eb00e6fb;p=thirdparty%2Fvalgrind.git s390x testcases: Fix valgrind invocation coregrind/valgrind works iff valgrind was installed beforehand. But we don't know that. Use vg-in-place instead. --- diff --git a/none/tests/s390x/bfp-emit.pl b/none/tests/s390x/bfp-emit.pl index 4128a5d02..a4e191b9e 100755 --- a/none/tests/s390x/bfp-emit.pl +++ b/none/tests/s390x/bfp-emit.pl @@ -27,7 +27,7 @@ use Cwd 'abs_path'; my $rootdir = get_rootdir(); my $runone = "$rootdir/auxprogs/s390-runone"; -my $valgrind = "$rootdir/coregrind/valgrind"; +my $valgrind = "$rootdir/vg-in-place"; my $valargs = "-q --tool=none --trace-notbelow=0 --trace-flags=10000001"; @@ -332,7 +332,7 @@ sub test_insn my $stdout = `$valgrind $valargs ./$exe 2>&1`; # Parse the output from valgrind - # Need to find the "interesting" insns in the stream. There isexactly + # Need to find the "interesting" insns in the stream. There is exactly # one such insn in the "frontend" part and in the "assembly" part. # # Let diff --git a/none/tests/s390x/emwarn-gen.pl b/none/tests/s390x/emwarn-gen.pl index 7a142d795..00f2644f4 100755 --- a/none/tests/s390x/emwarn-gen.pl +++ b/none/tests/s390x/emwarn-gen.pl @@ -14,7 +14,7 @@ use Getopt::Long; my $rootdir = get_rootdir(); my $runone = "$rootdir/auxprogs/s390-runone"; -my $valgrind = "$rootdir/coregrind/valgrind"; +my $valgrind = "$rootdir/vg-in-place"; my $valargs = "-q --tool=none --show-emwarns=yes"; &main;