[AArch64][tests] Skip cpu-diagnostics tests when overriding -mcpu
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 17 May 2016 10:22:07 +0000 (10:22 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 17 May 2016 10:22:07 +0000 (10:22 +0000)
* gcc.target/aarch64/cpu-diagnostics-1.c: Skip if -mcpu is overriden.
* gcc.target/aarch64/cpu-diagnostics-2.c: Likewise.
* gcc.target/aarch64/cpu-diagnostics-3.c: Likewise.
* gcc.target/aarch64/cpu-diagnostics-4.c: Likewise.

From-SVN: r236316

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-1.c
gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-2.c
gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-3.c
gcc/testsuite/gcc.target/aarch64/cpu-diagnostics-4.c

index d14bcf1926ace309d3c66863d12b68c60f101685..1f8a5a60a7829ffe5d7b1ce2f6f8fa763fbcf066 100644 (file)
@@ -1,3 +1,10 @@
+2016-05-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.target/aarch64/cpu-diagnostics-1.c: Skip if -mcpu is overriden.
+       * gcc.target/aarch64/cpu-diagnostics-2.c: Likewise.
+       * gcc.target/aarch64/cpu-diagnostics-3.c: Likewise.
+       * gcc.target/aarch64/cpu-diagnostics-4.c: Likewise.
+
 2016-05-17  Dominique d'Humieres  <dominiq@lps.ens.fr>
            Ilya Enkovich  <ilya.enkovich@intel.com>
 
index de6b8a7da4d4d2500e5191dbbd925fab2d0afdb8..ddba65544710d35510cd73bcab083fc088148526 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-error "unknown" "" {target "aarch64*-*-*" } } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */
 /* { dg-options "-O2 -mcpu=dummy" } */
 
 void f ()
index 2ca006598ff84cf0b92f229e72f83750d4c5e91f..ae42436031b07af709f754f24ef63fff1ce9b34c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-error "missing" "" {target "aarch64*-*-*" } } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */
 /* { dg-options "-O2 -mcpu=cortex-a53+no" } */
 
 void f ()
index 807e3253e30637f73613cdd184dc79bb6f24e7dc..8bc6e2fe0492e4518cdbea47fa63315a2fd83bac 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-error "invalid feature" "" {target "aarch64*-*-*" } } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */
 /* { dg-options "-O2 -mcpu=cortex-a53+dummy" } */
 
 void f ()
index 4c246eb0172b16f9bad8b914b0bd0addd44edfe4..58355b42f84040386eef97dbe09ed99a0091923c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-error "missing" "" {target "aarch64*-*-*" } } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "" } } */
 /* { dg-options "-O2 -mcpu=+dummy" } */
 
 void f ()