diff options
author | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-07-01 04:50:41 +0000 |
---|---|---|
committer | njn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2009-07-01 04:50:41 +0000 |
commit | 1a95e05688d72520b2d0efc3073bde0f3b928d48 (patch) | |
tree | 77fb237d88e55f8af7b4b3e29c4875858de093bb /perf | |
parent | 13118f8b1ae7c0161df02d527cd802287e731a62 (diff) | |
download | valgrind-1a95e05688d72520b2d0efc3073bde0f3b928d48.tar.gz |
Remove the --all option from vg_perf. It's useless now that there are
tool-specific tests in massif/perf/ and memcheck/perf/.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10390 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'perf')
-rw-r--r-- | perf/vg_perf.in | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/perf/vg_perf.in b/perf/vg_perf.in index 0f3e44882..2188a31ed 100644 --- a/perf/vg_perf.in +++ b/perf/vg_perf.in @@ -29,11 +29,6 @@ #---------------------------------------------------------------------------- # usage: see usage message. # -# The easiest way is to run all tests in valgrind/ with (assuming you installed -# in $PREFIX): -# -# perl perf/vg_perf --all -# # You can specify individual files to test, or whole directories, or both. # Directories are traversed recursively, except for ones named, for example, # CVS/ or docs/. @@ -61,7 +56,6 @@ usage: vg_perf [options] [files or dirs] options for the user, with defaults in [ ], are: -h --help show this message - --all run all tests under this directory --reps=<n> number of repeats for each program [1] --tools=<t1,t2,t3> tools to run [Nulgrind and Memcheck] --vg Valgrind(s) to measure (can be specified multiple @@ -131,14 +125,11 @@ sub add_vgdir($) sub process_command_line() { - my $alldirs = 0; my @fs; for my $arg (@ARGV) { if ($arg =~ /^-/) { - if ($arg =~ /^--all$/) { - $alldirs = 1; - } elsif ($arg =~ /^--reps=(\d+)$/) { + if ($arg =~ /^--reps=(\d+)$/) { $n_reps = $1; if ($n_reps < 1) { die "bad --reps value: $n_reps\n"; } } elsif ($arg =~ /^--vg=(.+)$/) { @@ -159,13 +150,6 @@ sub process_command_line() add_vgdir($tests_dir); } - if ($alldirs) { - @fs = (); - foreach my $f (glob "*") { - push(@fs, $f) if (-d $f); - } - } - (0 != @fs) or die "No test files or directories specified\n"; return @fs; |