diff options
Diffstat (limited to 'sim/testsuite/cris/hw/rv-n-cris/rvc.exp')
-rw-r--r-- | sim/testsuite/cris/hw/rv-n-cris/rvc.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp index 42de37d..847d906 100644 --- a/sim/testsuite/cris/hw/rv-n-cris/rvc.exp +++ b/sim/testsuite/cris/hw/rv-n-cris/rvc.exp @@ -24,6 +24,10 @@ proc sim_has_rv_and_cris {} { global objdir global SIMFLAGS_FOR_TARGET + if ![file exists [sim_tool_path]] { + return 0 + } + # We need to assemble and link a trivial program and pass that, in # order to test successful exit. |