Commit 2b948876 by Janis Johnson Committed by Janis Johnson

* lib/gcc-dg.exp (cleanup-dump): Remove options from test name.

From-SVN: r108129
parent 9e170098
2005-12-06 Janis Johnson <janis187@us.ibm.com>
* lib/gcc-dg.exp (cleanup-dump): Remove options from test name.
2005-12-06 Roger Sayle <roger@eyesopen.com>
* g++.dg/warn/Wstring-literal-comparison-1.C: New test case.
......@@ -367,7 +367,9 @@ proc cleanup-dump { suffix } {
# proc that stores the filename of the testcase in a local variable
# "name". A cleaner solution would require a new DejaGnu release.
upvar 3 name testcase
remove-build-file "[file tail $testcase].$suffix"
# The name might include a list of options; extract the file name.
set src [file tail [lindex $testcase 0]]
remove-build-file "[file tail $src].$suffix"
# Clean up dump files for additional source files.
if [info exists additional_sources] {
......
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