1# Example synacor simulator testsuite. 2 3sim_init 4 5# All machines. 6set all_machs "example" 7 8global LDFLAGS_FOR_TARGET 9set LDFLAGS_FOR_TARGET "-Ttext=0" 10 11foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { 12 # If we're only testing specific files and this isn't one of them, skip it. 13 if ![runtest_file_p $runtests $src] { 14 continue 15 } 16 run_sim_test $src $all_machs 17} 18