Commit | Line | Data |
---|---|---|
4630c803 NC |
1 | # |
2 | # msp430 tests | |
3 | # | |
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 | |
16 | } | |
17 | ||
18 | if [expr [istarget "msp430-*-*"]] then { | |
19 | run_dump_test "opcode" | |
20 | } |