3 # gas_test_stdout args regexp testname
4 # looks for regexp on stdout
6 # gas_test args testname
7 # just checks that exit status is zero
12 # List of optional assembler options that are likely to alter the assembler's
13 # behavior. Keep this set small, since its power set generates the list of
14 # test cases run. Suggested: listings (shouldn't affect outcome drastically
15 # but does), pic?, ...
19 # Target-independent tests
22 gas_test "p2425.s" "" $stdoptlist "pcrel values in assignment"
25 # Some m68k-coff tests
27 if [istarget m68*-*-coff] then {
28 gas_test "p2430.s" "" $stdoptlist "local branch not in text section"
30 gas_test "p2430a.s" "" $stdoptlist "local branch not in text section"
32 gas_test "t1.s" "" $stdoptlist "multiple .file directives"
34 gas_test "p2389.s" "" $stdoptlist "bss fill"
35 gas_test_error "p2389a.s" "" "detect bss fill with non-zero data"
37 if [file exists "$testdir/p2411.s"] then {
38 gas_test "p2411.s" "" $stdoptlist "PR 2411"
43 # Some generic m68k tests
45 if [istarget m68*-*-*] then {
47 # Operand size dependent on offset computed using operand size
49 if [file exists "$testdir/p2425a.s"] then {
50 gas_test "p2425a.s" "" $stdoptlist "PR 2425"
53 gas_test "t2.s" "" $stdoptlist "cross-section branch"
57 # Solaris-2 on SPARC tests
59 # The two compilers, cc and gcc, generate quite different debugging
60 # records. Verify that we can accept both.
62 if [istarget sparc-*-solaris2*] then {
63 gas_test "sol-cc.s" "" $stdoptlist "SPARC Solaris cc -g"
64 gas_test "sol-gcc.s" "" $stdoptlist "SPARC Solaris gcc -g"