profopt.exp (profopt-cleanup): New argument TESTCASE.
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 21 Oct 2002 20:21:00 +0000 (20:21 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 21 Oct 2002 20:21:00 +0000 (20:21 +0000)
commitaaee784acf0a3a5817e35b70ba930c625ce8057e
tree6c6280fdb21a113e85f3e09360656e24f1c0531c
parent5d4d885ca6321901051b3374817ff46249f273f1
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
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/bprob/bprob-1.C [deleted file]
gcc/testsuite/g++.dg/bprob/bprob.exp
gcc/testsuite/g++.dg/bprob/g++-bprob-1.C [new file with mode: 0644]
gcc/testsuite/g77.dg/bprob/bprob-1.f [deleted file]
gcc/testsuite/g77.dg/bprob/bprob.exp
gcc/testsuite/g77.dg/bprob/g77-bprob-1.f [new file with mode: 0644]
gcc/testsuite/gcc.misc-tests/bprob.exp
gcc/testsuite/lib/profopt.exp