4 proc run_list_test { name opts } {
6 set testname "maxq10 $name"
7 set file $srcdir/$subdir/$name
8 gas_run ${name}.s $opts ">&dump.out"
9 if { [regexp_diff "dump.out" "${file}.l"] } then {
11 verbose "output is [file_contents "dump.out"]" 2
17 proc gas_64_check { } {
22 catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help
23 return [regexp "targets:.*maxq" $nm_help]
26 proc gas_32_check { } {
31 catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help
32 return [regexp "targets:.*maxq" $nm_help]
35 if [expr ([istarget "maxq-*-*"] || [istarget "maxq-coff-*"]) && [gas_32_check]] then {
38 set old_ASFLAGS "$ASFLAGS"
39 set ASFLAGS "$ASFLAGS -MAXQ10"
46 run_dump_test "logical"
50 set ASFLAGS "$old_ASFLAGS"