summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-15 09:15:26 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-15 09:15:26 +0000
commit3e21777570b451bbeeb7ffd0878647b0b959b21f (patch)
tree04340cfd009814d6e147ab80281e42e301511184 /libjava/testsuite/libjava.compile
parent19cc80944cec8d146d0d0ac34b76641d44456955 (diff)
downloadppe42-gcc-3e21777570b451bbeeb7ffd0878647b0b959b21f.tar.gz
ppe42-gcc-3e21777570b451bbeeb7ffd0878647b0b959b21f.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28113 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..e69cdecc103
--- /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 c76a58c5b0e..3d9c13b78b6 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
OpenPOWER on IntegriCloud