MIPS/GAS/testsuite: Tighten negative-match NaN tests
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 20 Nov 2015 16:14:33 +0000 (16:14 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Fri, 20 Nov 2015 16:17:53 +0000 (16:17 +0000)
Fix a test quality regression introduced with commit 351cdf24 [[MIPS]
Implement O32 FPXX, FP64 and FP64A ABI extensions] where MIPS ABI flags
match patterns have been added to negative-match tests covering ELF file
header flags.  Negative-match tests succeed whenever there is a failure
in matching output produced and consequently the likelihood of a false
success increases when patterns to match irrelevant output are added.

Therefore remove the irrelevant paterns so that the tests complete as
soon as the line concerned has been seen.

gas/testsuite/
* gas/mips/nan-legacy-1.d: Remove MIPS ABI flags match patterns.
* gas/mips/nan-legacy-2.d: Likewise.
* gas/mips/nan-legacy-3.d: Likewise.
* gas/mips/nan-legacy-4.d: Likewise.
* gas/mips/nan-legacy-5.d: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/nan-legacy-1.d
gas/testsuite/gas/mips/nan-legacy-2.d
gas/testsuite/gas/mips/nan-legacy-3.d
gas/testsuite/gas/mips/nan-legacy-4.d
gas/testsuite/gas/mips/nan-legacy-5.d

index 755f619..f86cf54 100644 (file)
@@ -1,3 +1,11 @@
+2015-11-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * gas/mips/nan-legacy-1.d: Remove MIPS ABI flags match patterns.
+       * gas/mips/nan-legacy-2.d: Likewise.
+       * gas/mips/nan-legacy-3.d: Likewise.
+       * gas/mips/nan-legacy-4.d: Likewise.
+       * gas/mips/nan-legacy-5.d: Likewise.
+
 2015-11-20  Matthew Wahab  <matthew.wahab@arm.com>
 
        * gas/aarch64/virthostext-directive.d: New.
index a2f6d0c..c13d634 100644 (file)
@@ -5,17 +5,4 @@
 .*:.*file format.*mips.*
 #failif
 private flags = [0-9a-f]*[4-7c-f]..: .*[[]nan2008[]].*
-
-MIPS ABI Flags Version: 0
-
-ISA: MIPS.*
-GPR size: .*
-CPR1 size: .*
-CPR2 size: 0
-FP ABI: Hard float \(double precision\)
-ISA Extension: None
-ASEs:
-       None
-FLAGS 1: 00000000
-FLAGS 2: 00000000
-
+#pass
index 83c559f..4a4af61 100644 (file)
@@ -6,17 +6,4 @@
 .*:.*file format.*mips.*
 #failif
 private flags = [0-9a-f]*[4-7c-f]..: .*[[]nan2008[]].*
-
-MIPS ABI Flags Version: 0
-
-ISA: MIPS.*
-GPR size: .*
-CPR1 size: .*
-CPR2 size: 0
-FP ABI: Hard float \(double precision\)
-ISA Extension: None
-ASEs:
-       None
-FLAGS 1: 00000000
-FLAGS 2: 00000000
-
+#pass
index f19d1aa..c463f2b 100644 (file)
@@ -5,17 +5,4 @@
 .*:.*file format.*mips.*
 #failif
 private flags = [0-9a-f]*[4-7c-f]..: .*[[]nan2008[]].*
-
-MIPS ABI Flags Version: 0
-
-ISA: MIPS.*
-GPR size: .*
-CPR1 size: .*
-CPR2 size: 0
-FP ABI: Hard float \(double precision\)
-ISA Extension: None
-ASEs:
-       None
-FLAGS 1: 00000000
-FLAGS 2: 00000000
-
+#pass
index c70d1d1..99c5de7 100644 (file)
@@ -6,17 +6,4 @@
 .*:.*file format.*mips.*
 #failif
 private flags = [0-9a-f]*[4-7c-f]..: .*[[]nan2008[]].*
-
-MIPS ABI Flags Version: 0
-
-ISA: MIPS.*
-GPR size: .*
-CPR1 size: .*
-CPR2 size: 0
-FP ABI: Hard float \(double precision\)
-ISA Extension: None
-ASEs:
-       None
-FLAGS 1: 00000000
-FLAGS 2: 00000000
-
+#pass
index d3b2480..b0ccb31 100644 (file)
@@ -5,17 +5,4 @@
 .*:.*file format.*mips.*
 #failif
 private flags = [0-9a-f]*[4-7c-f]..: .*[[]nan2008[]].*
-
-MIPS ABI Flags Version: 0
-
-ISA: MIPS.*
-GPR size: .*
-CPR1 size: .*
-CPR2 size: 0
-FP ABI: Hard float \(double precision\)
-ISA Extension: None
-ASEs:
-       None
-FLAGS 1: 00000000
-FLAGS 2: 00000000
-
+#pass