Commit 0d8b229b by Andreas Schwab Committed by Andreas Schwab

compat.exp (compat-run): Prepend "./" when $dest has no directory component.

	* lib/compat.exp (compat-run): Prepend "./" when $dest has no
	directory component.

From-SVN: r58318
parent 797608d2
2002-10-19 Andreas Schwab <schwab@suse.de>
* lib/compat.exp (compat-run): Prepend "./" when $dest has no
directory component.
2002-10-18 Mark Mitchell <mark@codesourcery.com>
* g++.dg/inherit/thunk1.C: New test.
......
......@@ -96,6 +96,9 @@ proc compat-run { testname objlist dest options optstr } {
}
# Run the self-checking executable.
if ![string match "*/*" $dest] then {
set dest "./$dest"
}
set result [${tool}_load $dest "" ""]
set status [lindex $result 0]
if { $status == "pass" } then {
......
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