[flang] skip fast_math linker test on powerpc #3
authorTom Eccles <tom.eccles@arm.com>
Mon, 12 Dec 2022 21:46:35 +0000 (21:46 +0000)
committerTom Eccles <tom.eccles@arm.com>
Mon, 12 Dec 2022 21:46:35 +0000 (21:46 +0000)
Another attempt to skip the fast-math linker test on powerpc. The test
has to be skipped because there is no crtfastmath.o on powerpc.

Change recommended by Amy Kwan <amyk>.

See https://reviews.llvm.org/D138675

flang/test/Driver/fast_math.f90

index 5d3a341..46b8170 100644 (file)
@@ -58,7 +58,7 @@
 
 ! Check that -ffast-math causes us to link to crtfastmath.o
 ! UNSUPPORTED: system-windows
-! UNSUPPORTED: target={{p(ower)?pc.*}}
+! UNSUPPORTED: powerpc-registered-target
 ! RUN: %flang -ffast-math -### %s -o %t 2>&1 \
 ! RUN:     | FileCheck --check-prefix=CHECK-CRT %s
 ! CHECK-CRT: {{crtbegin.?\.o}}