aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-19 21:37:43 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-19 21:37:43 +0000
commitd0af548446dfaa12f308d47649cd7e0c96874e91 (patch)
tree782bbc4b53f8eb6433e23cbe5ded30d7bed4fd02 /gas/testsuite
parent2447e9afab92a5700ccc6e4d90d3cef8f082c009 (diff)
downloadgdb-d0af548446dfaa12f308d47649cd7e0c96874e91.zip
gdb-d0af548446dfaa12f308d47649cd7e0c96874e91.tar.gz
gdb-d0af548446dfaa12f308d47649cd7e0c96874e91.tar.bz2
* gasp/gasp.exp (gasp_test): Call prune_system_crud on the output
of diff. * lib/gas-defs.exp: Define prune_system_crud if it is not already defined.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gasp/gasp.exp2
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1c3e77b..5b1787c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+Sat Aug 19 17:36:17 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * gasp/gasp.exp (gasp_test): Call prune_system_crud on the output
+ of diff.
+ * lib/gas-defs.exp: Define prune_system_crud if it is not already
+ defined.
+
Fri Aug 18 11:09:38 1995 Ian Lance Taylor <ian@cygnus.com>
* gasp/mri/*.out: Use ;, not !, for the comment character.
diff --git a/gas/testsuite/gasp/gasp.exp b/gas/testsuite/gasp/gasp.exp
index f64abec..5987352 100644
--- a/gas/testsuite/gasp/gasp.exp
+++ b/gas/testsuite/gasp/gasp.exp
@@ -3,10 +3,12 @@
proc gasp_test { filename testname opt } {
global GASP
global srcdir
+ global host_triplet
send_log "$srcdir/lib/run $GASP -I$srcdir/gasp -s $opt $filename.asm -o gasp.out\n"
catch "exec $srcdir/lib/run $GASP -I$srcdir/gasp -s $opt $filename.asm -o gasp.out" errs
catch "exec diff gasp.out $filename.out" diffs
+ set diffs [prune_system_crud $host_triplet $diffs]
if ![string match "" $diffs] {
send_log "$diffs\n"
verbose $diffs