1 1.1 christos # XSCALE simulator testsuite. 2 1.1 christos 3 1.1 christos sim_init 4 1.1 christos 5 1.1 christos # all machines 6 1.1 christos set all_machs "xscale" 7 1.1 christos 8 1.1 christos # The .cgs suffix is for "cgen .s". 9 1.1 christos foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] { 10 1.1 christos # If we're only testing specific files and this isn't one of them, skip it. 11 1.1 christos if ![runtest_file_p $runtests $src] { 12 1.1 christos continue 13 1.1 christos } 14 1.1 christos run_sim_test $src $all_machs 15 1.1 christos } 16