* gasp/gasp.exp (gasp_test): Call prune_system_crud on the output
authorIan Lance Taylor <ian@airs.com>
Sat, 19 Aug 1995 21:37:43 +0000 (21:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 19 Aug 1995 21:37:43 +0000 (21:37 +0000)
of diff.
* lib/gas-defs.exp: Define prune_system_crud if it is not already
defined.

gas/testsuite/ChangeLog
gas/testsuite/gasp/gasp.exp

index 1c3e77b5ae9ecd1a314a69b515bdabfb16c1039d..5b1787c14539284b1d50afe36d710b27ee576359 100644 (file)
@@ -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.
index f64abec1c1bd77a04648c364a5fae69a7a43ef40..5987352556d494dfd4b9bae110218b9e25ae9187 100644 (file)
@@ -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