re PR testsuite/21164 (libjava tests uses absolute paths)
libjava: PR testsuite/21164 * testsuite/lib/libjava.exp: Load dg.exp. * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Strip srcdir from jarfile. Use result for messages. * testsuite/libjava.loader/loader.exp (gcj_loader_test_one): Pass errname to libjava_invoke, fix testname. gcc: PR testsuite/21164 * lib/compat.exp (compat-execute): Declare unsupported after stripping path from src1. * lib/lto.exp (lto-execute): Likewise. From-SVN: r172302
This commit is contained in:
parent
e30ecc5d62
commit
c9c0db83bb
7 changed files with 49 additions and 29 deletions
|
@ -34,7 +34,7 @@ proc gcj_loader_test_one {srcfile} {
|
|||
}
|
||||
pass "$errname compilation from source"
|
||||
|
||||
libjava_invoke $executable $executable "" $executable "" $resfile ""
|
||||
libjava_invoke $errname "source compiled test" "" $executable "" $resfile ""
|
||||
|
||||
return 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue