gas testsuite broken -> fixed

Andreas Jaeger aj@suse.de
Tue Nov 13 04:10:00 GMT 2001
Running the GAS test suite I got:

Running /cvs/binutils-ln/gas/testsuite/gas/all/gas.exp ...
ERROR: tcl error sourcing /cvs/binutils-ln/gas/testsuite/gas/all/gas.exp.
ERROR: syntax error in expression " ![istarget *c54x*-*-*] ![istarget hppa*-*-*] "
    while executing
"if { ![istarget *c54x*-*-*] ![istarget hppa*-*-*] } then {
    test_cond
    run_dump_test incbin
}"

I've committed the appended patch as obvious,
Andreas

2001-11-25  Andreas Jaeger  <aj@suse.de>

	* gas/all/gas.exp (incbin): Fix condition.

============================================================
Index: gas/testsuite/gas/all/gas.exp
--- gas/testsuite/gas/all/gas.exp	2001/11/23 16:26:01	1.9
+++ gas/testsuite/gas/all/gas.exp	2001/11/25 15:21:06
@@ -156,7 +156,7 @@
 # not limited to the fact that it depends on specific section
 # names appearing in the output file.
 # again, p2align doesn't work on c54x target
-if { ![istarget *c54x*-*-*] ![istarget hppa*-*-*] } then {
+if { ![istarget *c54x*-*-*] && ![istarget hppa*-*-*] } then {
     test_cond
     run_dump_test incbin
 }

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Binutils mailing list