allinsn.exp 386 B

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