sim: cris: fix testsuite hang when sim is missing
authorMike Frysinger <vapier@gentoo.org>
Sat, 27 Nov 2021 00:30:46 +0000 (19:30 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 27 Nov 2021 00:37:31 +0000 (19:37 -0500)
commit4c721b266fdae6e2761cc122fac4cfb42932e295
tree6f1c7f355309c7c2a643765f9114a1d7516bdb6c
parente1e1ae6e9b5e76daed22c8b2eb79fa3b5ade3335
sim: cris: fix testsuite hang when sim is missing

If the cris sim hasn't been built yet, trying to run its testsuite
will hang indefinitely.  The common sim APIs already have this, so
copy it over to the cris forks of the test+run functions.
sim/testsuite/cris/c/c.exp
sim/testsuite/cris/hw/rv-n-cris/rvc.exp