Commit c013221e by Uros Bizjak Committed by Uros Bizjak

gcc-dg.exp (cleanup-coverage-files): Remove options from test name.

	* lib/gcc-dg.exp (cleanup-coverage-files): Remove options from
	test name.
	(cleanup-repo-files): Ditto.
	(cleanup-saved-temps): Ditto.

From-SVN: r162583
parent f3184b4c
2010-07-27 Uros Bizjak <ubizjak@gmail.com>
* lib/gcc-dg.exp (cleanup-coverage-files): Remove options from
test name.
(cleanup-repo-files): Ditto.
(cleanup-saved-temps): Ditto.
2010-07-27 Jakub Jelinek <jakub@redhat.com>
PR testsuite/44701
......
......@@ -407,6 +407,8 @@ proc cleanup-coverage-files { } {
# that stores the filename of the testcase in a local variable "name".
# A cleaner solution would require a new DejaGnu release.
upvar 2 name testcase
# The name might include a list of options; extract the file name.
set testcase [lindex $testcase 0]]
remove-build-file "[file rootname [file tail $testcase]].gc??"
# Clean up coverage files for additional source files.
......@@ -423,6 +425,8 @@ proc cleanup-repo-files { } {
# that stores the filename of the testcase in a local variable "name".
# A cleaner solution would require a new DejaGnu release.
upvar 2 name testcase
# The name might include a list of options; extract the file name.
set testcase [lindex $testcase 0]]
remove-build-file "[file rootname [file tail $testcase]].o"
remove-build-file "[file rootname [file tail $testcase]].rpo"
......@@ -498,6 +502,8 @@ proc cleanup-saved-temps { args } {
# that stores the filename of the testcase in a local variable "name".
# A cleaner solution would require a new DejaGnu release.
upvar 2 name testcase
# The name might include a list of options; extract the file name.
set testcase [lindex $testcase 0]]
foreach suffix $suffixes {
remove-build-file "[file rootname [file tail $testcase]]$suffix"
# -fcompare-debug dumps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment