[clang] 4ac7fd8 - Make test more flexible for platforms that may emit extra arguments.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 17:54:07 PDT 2023


Author: Douglas Yung
Date: 2023-07-06T17:53:48-07:00
New Revision: 4ac7fd866bf83913cbf0311fa6bd8ebb86a278f8

URL: https://github.com/llvm/llvm-project/commit/4ac7fd866bf83913cbf0311fa6bd8ebb86a278f8
DIFF: https://github.com/llvm/llvm-project/commit/4ac7fd866bf83913cbf0311fa6bd8ebb86a278f8.diff

LOG: Make test more flexible for platforms that may emit extra arguments.

Added: 
    

Modified: 
    clang/test/Driver/aix-integrated-as.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/aix-integrated-as.c b/clang/test/Driver/aix-integrated-as.c
index 25e020c6f5a62a..4e842cdcb896d5 100644
--- a/clang/test/Driver/aix-integrated-as.c
+++ b/clang/test/Driver/aix-integrated-as.c
@@ -5,11 +5,11 @@
 // RUN:         --target=powerpc-ibm-aix7.1.0.0 \
 // RUN:   | FileCheck --check-prefix=CHECK-IAS32 %s
 // CHECK-IAS32-NOT: "-a32"
-// CHECK-IAS32: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0" "-emit-obj"
+// CHECK-IAS32: "-cc1" "-triple" "powerpc-ibm-aix7.1.0.0"{{.*}}"-emit-obj"
 
 // Check powerpc64-ibm-aix7.1.0.0, 64-bit.
 // RUN: %clang %s -### -c 2>&1 \
 // RUN:         --target=powerpc64-ibm-aix7.1.0.0 \
 // RUN:   | FileCheck --check-prefix=CHECK-IAS64 %s
 // CHECK-IAS64-NOT: "-a64"
-// CHECK-IAS64: "-cc1" "-triple" "powerpc64-ibm-aix7.1.0.0" "-emit-obj"
+// CHECK-IAS64: "-cc1" "-triple" "powerpc64-ibm-aix7.1.0.0"{{.*}}"-emit-obj"


        


More information about the cfe-commits mailing list