sim: testsuite: drop most specific istarget checks
[binutils-gdb.git] / sim / testsuite / frv / fr500 / allinsn.exp
index 40caa630706068c11e52b7de2867ea633f3b1cb2..ec1309a24411bb0e7b7685f526e5f53a98cea37a 100644 (file)
@@ -1,10 +1,8 @@
 # FRV simulator testsuite.
 
-if [istarget frv*-*] {
-    # Used to locate the `run` program.
-    global arch
-    set arch "frv"
+sim_init
 
+if [istarget *] {
     # all machines
     set all_machs "frv fr500 fr550"
     set cpu_option -mcpu