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