]> granicus.if.org Git - clang/commitdiff
Fix Driver/modules.cpp test to work when build directory name contains '.s'
authorTom Stellard <tstellar@redhat.com>
Mon, 30 Sep 2019 23:42:17 +0000 (23:42 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 30 Sep 2019 23:42:17 +0000 (23:42 +0000)
Reviewers: dyung, rsmith, hansw

Subscribers: mati865, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66176

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373275 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/modules.cpp

index 7c549c1300ff3566721e356190676d42288d1431..4f4e3a414002d51d061de3d289c57b1c1d9dff25 100644 (file)
@@ -15,7 +15,7 @@
 // RUN: %clang -std=c++2a %t/module.pcm -S -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE
 //
 // CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}}
-// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}}
+// CHECK-COMPILE-SAME: -o {{.*}}module{{2*}}.pcm.o
 // CHECK-COMPILE-SAME: -x pcm
 // CHECK-COMPILE-SAME: {{.*}}.pcm