summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/test.exp
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/test.exp')
-rw-r--r--libjava/testsuite/libjava.compile/test.exp3
1 files changed, 3 insertions, 0 deletions
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