diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-10-21 20:21:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-10-21 20:21:00 +0000 |
commit | aaee784acf0a3a5817e35b70ba930c625ce8057e (patch) | |
tree | 6c6280fdb21a113e85f3e09360656e24f1c0531c /gcc/testsuite/gcc.misc-tests | |
parent | 5d4d885ca6321901051b3374817ff46249f273f1 (diff) | |
download | gcc-aaee784acf0a3a5817e35b70ba930c625ce8057e.zip gcc-aaee784acf0a3a5817e35b70ba930c625ce8057e.tar.gz gcc-aaee784acf0a3a5817e35b70ba930c625ce8057e.tar.bz2 |
profopt.exp (profopt-cleanup): New argument TESTCASE.
* lib/profopt.exp (profopt-cleanup): New argument TESTCASE.
Remove only files with the same base name as the test case.
(profopt-perf-value): Pass TESTCASE to profopt-cleanup.
(profopt-execute): Likewise. Also, remove old profiling
and performance data files before running the tests.
* gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls.
* g++.dg/bprob/bprob.exp: Likewise.
* g77.dg/bprob/bprob.exp: Likewise. Also, relax regexp
to allow more general test case names.
* g++.dg/bprob/bprob-1.C: Rename to ...
* g++.dg/bprob/g++-bprob-1.C: ... this.
* g77.dg/bprob/bprob-1.f: Rename to ...
* g77.dg/bprob/g77-bprob-1.f: ... this.
From-SVN: r58380
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/bprob.exp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/bprob.exp b/gcc/testsuite/gcc.misc-tests/bprob.exp index d6c5d17..5f37068 100644 --- a/gcc/testsuite/gcc.misc-tests/bprob.exp +++ b/gcc/testsuite/gcc.misc-tests/bprob.exp @@ -48,10 +48,6 @@ if $tracelevel then { # Load support procs. load_lib profopt.exp -# Clean up existing .da and .tim files. -profopt-cleanup da -profopt-cleanup tim - foreach src [lsort [glob -nocomplain $srcdir/$subdir/bprob-*.c]] { # If we're only testing specific files and this isn't one of them, skip it. if ![runtest_file_p $runtests $src] then { |