summaryrefslogtreecommitdiff
path: root/sim/testsuite/cris/c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/cris/c')
-rw-r--r--sim/testsuite/cris/c/c.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/testsuite/cris/c/c.exp b/sim/testsuite/cris/c/c.exp
index bd51d73432f..25d812ea735 100644
--- a/sim/testsuite/cris/c/c.exp
+++ b/sim/testsuite/cris/c/c.exp
@@ -94,6 +94,11 @@ foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.c]] {
continue
}
+ if ![file exists [sim_tool_path]] {
+ untested $testname
+ return 0
+ }
+
# Clear default options
set opts(cc) ""
set opts(sim) ""