summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sparc-solaris/gas.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/sparc-solaris/gas.exp')
-rw-r--r--gas/testsuite/gas/sparc-solaris/gas.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/testsuite/gas/sparc-solaris/gas.exp b/gas/testsuite/gas/sparc-solaris/gas.exp
new file mode 100644
index 0000000000..63af6917e9
--- /dev/null
+++ b/gas/testsuite/gas/sparc-solaris/gas.exp
@@ -0,0 +1,10 @@
+#
+# Solaris-2 on SPARC tests
+#
+# The two compilers, cc and gcc, generate quite different debugging
+# records. Verify that we can accept both.
+#
+if [istarget sparc-*-solaris2*] then {
+ gas_test "sol-cc.s" "" $stdoptlist "SPARC Solaris cc -g"
+ gas_test "sol-gcc.s" "" $stdoptlist "SPARC Solaris gcc -g"
+}