PR ld/1775
[binutils.git] / gas / testsuite / gas / msp430 / msp430.exp
bloba45ae4b630b531deabb7c04c694d83e34dd995ab
2 # msp430 tests
4 proc run_list_test { name opts } {
5     global srcdir subdir
6     set testname "msp430 $name"
7     set file $srcdir/$subdir/$name
8     gas_run ${name}.s $opts ">&dump.out"
9     if { [regexp_diff "dump.out" "${file}.l"] } then {
10         fail $testname
11         verbose "output is [file_contents "dump.out"]" 2
12         exit
13         return
14     }
15     pass $testname
18 if [expr [istarget "msp430-*-*"]]  then {
19     run_dump_test "opcode"