Author: rsmith Date: Mon Apr 15 18:44:53 2019 New Revision: 358470 URL: http://llvm.org/viewvc/llvm-project?rev=358470&view=rev Log: Tweak test to pass when using a non-integrated assembler.
Modified: cfe/trunk/test/Driver/modules.cpp Modified: cfe/trunk/test/Driver/modules.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/modules.cpp?rev=358470&r1=358469&r2=358470&view=diff ============================================================================== --- cfe/trunk/test/Driver/modules.cpp (original) +++ cfe/trunk/test/Driver/modules.cpp Mon Apr 15 18:44:53 2019 @@ -14,8 +14,8 @@ // // RUN: %clang -std=c++2a %t/module.pcm -c -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE // -// CHECK-COMPILE: -cc1 {{.*}} -emit-obj -// CHECK-COMPILE-SAME: -o {{.*}}.pcm.o +// CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}} +// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}} // CHECK-COMPILE-SAME: -x pcm // CHECK-COMPILE-SAME: {{.*}}.pcm @@ -24,9 +24,9 @@ // RUN: %clang -std=c++2a -fmodule-file=%t/module.pcm -Dexport= %s -c -o %t/module.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-USE // // CHECK-USE: -cc1 -// CHECK-USE-SAME: -emit-obj +// CHECK-USE-SAME: {{-emit-obj|-S}} // CHECK-USE-SAME: -fmodule-file={{.*}}.pcm -// CHECK-USE-SAME: -o {{.*}}.o{{"?}} {{.*}}-x c++ +// CHECK-USE-SAME: -o {{.*}}.{{o|s}}{{"?}} {{.*}}-x c++ // CHECK-USE-SAME: modules.cpp // Check combining precompile and compile steps works. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits