MSP430 Assembler: Define symbols for functions to run through.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / msp430 / msp430.exp
index a45ae4b630b531deabb7c04c694d83e34dd995ab..9c7a1975f9418f8f65c84317ade785c84ad62efa 100644 (file)
@@ -1,20 +1,49 @@
+# Copyright (C) 2012-2019 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  
+
 #
 # msp430 tests
 #
-proc run_list_test { name opts } {
-    global srcdir subdir
-    set testname "msp430 $name"
-    set file $srcdir/$subdir/$name
-    gas_run ${name}.s $opts ">&dump.out"
-    if { [regexp_diff "dump.out" "${file}.l"] } then {
-       fail $testname
-       verbose "output is [file_contents "dump.out"]" 2
-       exit
-       return
-    }
-    pass $testname
-}
 
 if [expr [istarget "msp430-*-*"]]  then {
     run_dump_test "opcode"
+    run_dump_test "msp430x"
+    run_dump_test "bad"
+    run_dump_test "errata_warns"
+    run_dump_test "errata_fixes"
+    run_dump_test "low-data-bss-sym"
+    run_dump_test "either-data-bss-sym"
+    run_dump_test "high-data-bss-sym" { { as "-ml -mdata-region=upper" } }
+    run_dump_test "high-data-bss-sym" { { as "-ml -mdata-region=either" } }
+    run_dump_test "pr22133"
+    run_dump_test "nop-int-430"
+    run_dump_test "nop-int-430x"
+    run_dump_test "nop-int-430x-silent"
+    run_dump_test "nop-eint-430"
+    run_dump_test "nop-eint-430x"
+    run_dump_test "nop-eint-430x-silent"
+    run_dump_test "nop-eint-430x-ignore"
+    run_dump_test "nop-dint-430"
+    run_dump_test "nop-dint-430x"
+    run_dump_test "nop-dint-430x-silent"
+    run_dump_test "nop-dint-430x-ignore"
+    run_dump_test "nop-unknown-intr-430"
+    run_dump_test "nop-unknown-intr-430x"
+    run_dump_test "nop-unknown-intr-430x-ignore"
+    run_dump_test "preinit-array"
+    run_dump_test "init-array"
+    run_dump_test "fini-array"
 }
This page took 0.025084 seconds and 4 git commands to generate.