summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/alpha/fp.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/alpha/fp.exp')
-rw-r--r--gas/testsuite/gas/alpha/fp.exp15
1 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/gas/alpha/fp.exp b/gas/testsuite/gas/alpha/fp.exp
new file mode 100644
index 00000000000..05ec881cfe6
--- /dev/null
+++ b/gas/testsuite/gas/alpha/fp.exp
@@ -0,0 +1,15 @@
+#
+# Alpha OSF/1 tests
+#
+
+if [istarget alpha-*-osf*] then {
+ set testname "fp constants (part 2)"
+ if [gas_test_old "fp.s" "" "fp constants (part 1)"] then {
+ objdump "-s -j .rdata > a.dump"
+ if { [regexp_diff "a.dump" "$srcdir/$subdir/fp.d"] == 0 } then {
+ pass $testname
+ } else {
+ fail $testname
+ }
+ }
+}