diff options
author | Doug Evans <dje@google.com> | 1998-06-01 22:09:48 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-06-01 22:09:48 +0000 |
commit | 7908eab788896b469ba67e2153a8a62033b66f43 (patch) | |
tree | 966bad646b2b273bbab9c77b69d8f9487be2d30b /gas/testsuite | |
parent | 99b7e42e1cecd8fd18b888db17177a3ab404dd96 (diff) | |
download | gdb-7908eab788896b469ba67e2153a8a62033b66f43.zip gdb-7908eab788896b469ba67e2153a8a62033b66f43.tar.gz gdb-7908eab788896b469ba67e2153a8a62033b66f43.tar.bz2 |
Don't run the `semi' testcase if dvp-*-*.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/macros/.Sanitize | 34 | ||||
-rw-r--r-- | gas/testsuite/gas/macros/macros.exp | 25 |
2 files changed, 59 insertions, 0 deletions
diff --git a/gas/testsuite/gas/macros/.Sanitize b/gas/testsuite/gas/macros/.Sanitize index 05474b7..205aebe 100644 --- a/gas/testsuite/gas/macros/.Sanitize +++ b/gas/testsuite/gas/macros/.Sanitize @@ -44,4 +44,38 @@ Things-to-lose: Do-last: +sky_files="macros.exp" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $sky_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + +for i in * ; do + if test ! -d $i && (grep sanitize $i > /dev/null) ; then + echo '***' Some mentions of Sanitize are still left in $i! 1>&2 + fi +done + # End of file. diff --git a/gas/testsuite/gas/macros/macros.exp b/gas/testsuite/gas/macros/macros.exp new file mode 100644 index 0000000..56aa460 --- /dev/null +++ b/gas/testsuite/gas/macros/macros.exp @@ -0,0 +1,25 @@ +# Run some tests of gas macros. + +if ![istarget hppa*-*-*] { + run_dump_test test1 +} + +run_dump_test test2 + +run_dump_test test3 + +run_dump_test irp + +run_dump_test rept + +gas_test_error "err.s" "" "macro infinite recursion" + +case $target_triplet in { + { hppa*-*-* } { } +# start-sanitize-sky + { dvp-*-* } { } +# end-sanitize-sky + default { + run_dump_test semi + } +} |