|
From: Nicholas N. <nj...@ca...> - 2004-10-19 16:56:50
|
CVS commit by nethercote:
Arch-abstraction:
- Change regtest script to print a message if a test is skipped due to the cpu
being of the wrong type.
M +4 -3 vg_regtest.in 1.23
--- valgrind/tests/vg_regtest.in #1.22:1.23
@@ -92,6 +92,4 @@
# Default valgrind to use is this build tree's (uninstalled) one
-my $prefix="@prefix@";
-my $exec_prefix="@exec_prefix@";
my $valgrind = "./coregrind/valgrind";
@@ -267,5 +265,8 @@
if (defined $cpu_test) {
- return unless system("../../tests/cputest $cpu_test") == 0;
+ if (system("$tests_dir/tests/cputest $cpu_test") != 0) {
+ printf("%-16s (cpu_test failed, skipping)\n", "$name:");
+ return;
+ }
}
|