summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-10-11 22:17:51 +0000
committerTom Stellard <tstellar@redhat.com>2019-10-11 22:17:51 +0000
commit171c0c22c464ea16bb91617eb43c53e8e50a1881 (patch)
tree88a0b4a6a95fceb1dab36b5f4db22b8b60b821ad
parentf8f1e81363003f79e137134fdb1142e58ab88fb7 (diff)
downloadllvm-171c0c22c464ea16bb91617eb43c53e8e50a1881.tar.gz
Merging r373275:
------------------------------------------------------------------------ r373275 | tstellar | 2019-09-30 16:42:17 -0700 (Mon, 30 Sep 2019) | 9 lines Fix Driver/modules.cpp test to work when build directory name contains '.s' Reviewers: dyung, rsmith, hansw Subscribers: mati865, mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66176 ------------------------------------------------------------------------ llvm-svn: 374605
-rw-r--r--clang/test/Driver/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/modules.cpp b/clang/test/Driver/modules.cpp
index 7c549c1300ff..4f4e3a414002 100644
--- a/clang/test/Driver/modules.cpp
+++ b/clang/test/Driver/modules.cpp
@@ -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