From: Tom Eccles Date: Mon, 12 Dec 2022 11:28:21 +0000 (+0000) Subject: [flang] match alternate names for crtbegin in fastmath test X-Git-Tag: upstream/17.0.6~24252 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bea45027b43ec61a3efc4b487ceca2da25504432;p=platform%2Fupstream%2Fllvm.git [flang] match alternate names for crtbegin in fastmath test The fastmath test checks that crtfastmath.o is added between crtbeginS.o and crtend.o. On some systems the first file is instead called crtbegin.o - match these too. Related to https://reviews.llvm.org/D138675 --- diff --git a/flang/test/Driver/fast_math.f90 b/flang/test/Driver/fast_math.f90 index 4427d1e..6a22815 100644 --- a/flang/test/Driver/fast_math.f90 +++ b/flang/test/Driver/fast_math.f90 @@ -60,6 +60,6 @@ ! UNSUPPORTED: system-windows, powerpc ! RUN: %flang -ffast-math -### %s -o %t 2>&1 \ ! RUN: | FileCheck --check-prefix=CHECK-CRT %s -! CHECK-CRT: crtbeginS.o +! CHECK-CRT: {{crtbegin.?\.o}} ! CHECK-CRT-SAME: crtfastmath.o ! CHECK-CRT-SAME: crtendS.o