diff options
author | M R Swami Reddy <MR.Swami.Reddy@nsc.com> | 2008-04-08 09:03:17 +0000 |
---|---|---|
committer | M R Swami Reddy <MR.Swami.Reddy@nsc.com> | 2008-04-08 09:03:17 +0000 |
commit | ad6037c642efb577aa16aee851e8b4e81065b127 (patch) | |
tree | 7847127015c32e1135e7bc9d5a495b1f782e620f /sim/testsuite | |
parent | 2a3591b0e073a7ca03259d317d1044124048fab1 (diff) | |
download | gdb-ad6037c642efb577aa16aee851e8b4e81065b127.zip gdb-ad6037c642efb577aa16aee851e8b4e81065b127.tar.gz gdb-ad6037c642efb577aa16aee851e8b4e81065b127.tar.bz2 |
allinsn.exp misc.exp: New files: Test run scripts
Diffstat (limited to 'sim/testsuite')
-rw-r--r-- | sim/testsuite/sim/cr16/allinsn.exp | 24 | ||||
-rw-r--r-- | sim/testsuite/sim/cr16/misc.exp | 21 |
2 files changed, 45 insertions, 0 deletions
diff --git a/sim/testsuite/sim/cr16/allinsn.exp b/sim/testsuite/sim/cr16/allinsn.exp new file mode 100644 index 0000000..5eafac3 --- /dev/null +++ b/sim/testsuite/sim/cr16/allinsn.exp @@ -0,0 +1,24 @@ +# CR16 simulator testsuite. + +set target_alias cr16-elf +set global_ld_options "-L/local/user/swami/cr16-5.1/build/CR_R_2007-08-24_11-34-56/release/linux/lib/gcc/cr16-elf/4.1.2 -T/home10/swami/dummy.ld" + +if [istarget cr16*-*-*] { + # load support procs + # load_lib cgen.exp + + # all machines + set all_machs "cr16" + + + # The .cgs suffix is for "cgen .s". + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] { + # If we're only testing specific files and this isn't one of them, + # skip it. + if ![runtest_file_p $runtests $src] { + continue + } + + run_sim_test $src $all_machs + } +} diff --git a/sim/testsuite/sim/cr16/misc.exp b/sim/testsuite/sim/cr16/misc.exp new file mode 100644 index 0000000..5fe512d --- /dev/null +++ b/sim/testsuite/sim/cr16/misc.exp @@ -0,0 +1,21 @@ +# Miscellaneous CR16 simulator testcases + +if [istarget cr16*-*-*] { + # load support procs + # load_lib cgen.exp + + # all machines + set all_machs "cr16" + + + # The .ms suffix is for "miscellaneous .s". + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.ms]] { + # If we're only testing specific files and this isn't one of them, + # skip it. + if ![runtest_file_p $runtests $src] { + continue + } + + run_sim_test $src $all_machs + } +} |