4 proc run_list_test { name opts } {
6 set testname "maxq20 $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];
36 if [expr ([istarget "maxq-*-*"] || [istarget "maxq-coff-*-*"]) && [gas_32_check]] then {
39 set old_ASFLAGS "$ASFLAGS"
40 set ASFLAGS "$ASFLAGS"
47 run_dump_test "logical"
53 set ASFLAGS "$old_ASFLAGS"