misc.exp 568 B

1234567891011121314151617181920
  1. # Miscellaneous CR16 simulator testcases
  2. sim_init
  3. # all machines
  4. set all_machs "cr16"
  5. global SIMFLAGS_FOR_TARGET
  6. # The cr16 linker sets the default LMA base to 0, and all the code
  7. # expects the VMA when running, so use that when running the tests.
  8. set SIMFLAGS_FOR_TARGET "--load-vma"
  9. # The .ms suffix is for "miscellaneous .s".
  10. foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] {
  11. # If we're only testing specific files and this isn't one of them, skip it.
  12. if ![runtest_file_p $runtests $src] {
  13. continue
  14. }
  15. run_sim_test $src $all_machs
  16. }