aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-07-15 09:15:26 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-07-15 09:15:26 +0000
commit51e0d189edbc6fc454d774c45593f1d04b661fea (patch)
tree04340cfd009814d6e147ab80281e42e301511184 /libjava/testsuite/libjava.compile
parente533f648afeea51f6c8d2e2c26306aff0a947867 (diff)
downloadgcc-51e0d189edbc6fc454d774c45593f1d04b661fea.zip
gcc-51e0d189edbc6fc454d774c45593f1d04b661fea.tar.gz
gcc-51e0d189edbc6fc454d774c45593f1d04b661fea.tar.bz2
G19990217_02.no-link: New file.
* libjava.compile/G19990217_02.no-link: New file. * libjava.compile/test.exp: Look for `.no-link' file. * lib/libjava.exp (test_libjava_from_source): Added `no-link' option. (test_libjava_from_javac): Likewise. Also, handle package information from class name when creating class file name. From-SVN: r28113
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/G19990217_02.no-link1
-rw-r--r--libjava/testsuite/libjava.compile/test.exp3
2 files changed, 4 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/G19990217_02.no-link b/libjava/testsuite/libjava.compile/G19990217_02.no-link
new file mode 100644
index 0000000..e69cdec
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/G19990217_02.no-link
@@ -0,0 +1 @@
+Don't link me
diff --git a/libjava/testsuite/libjava.compile/test.exp b/libjava/testsuite/libjava.compile/test.exp
index c76a58c..3d9c13b 100644
--- a/libjava/testsuite/libjava.compile/test.exp
+++ b/libjava/testsuite/libjava.compile/test.exp
@@ -6,6 +6,9 @@ verbose "srcfiles are $srcfiles"
set prefix ""
foreach x $srcfiles {
set args [libjava_read_xfail [file rootname $x].xfail]
+ if {[file exists [file rootname $x].no-link]} {
+ lappend args no-link
+ }
lappend args no-exec
test_libjava $options "$x" "" "" "" $args