OSDN Git Service

* lib/target-supports.exp (check_effective_target_vect_long):
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / dg-pch.exp
index ca7d8c3..5ab34ec 100644 (file)
@@ -21,7 +21,7 @@ proc dg-pch { subdir test options suffix } {
 
     # If we're only testing specific files and this isn't one of them, skip it.
     if ![runtest_file_p $runtests $test] {
-       continue
+       return
     }
     set nshort "$subdir/[file tail $test]"
     set bname "[file rootname [file tail $nshort]]"
@@ -39,7 +39,7 @@ proc dg-pch { subdir test options suffix } {
        set dg-do-what-default precompile
        catch { file delete "$bname$suffix" }
        gcc_copy_files "[file rootname $test]${suffix}s" "$bname$suffix"
-       dg-test -keep-output "$bname$suffix" $flags ""
+       dg-test -keep-output "./$bname$suffix" $flags ""
 
        # For the rest, the default is to compile to .s.
        set dg-do-what-default compile