[PATCH] D66176: Fix Driver/modules.cpp test to work when build directory name contains '.s'
Tom Stellard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 27 10:53:20 PDT 2019
tstellar updated this revision to Diff 222205.
tstellar added a comment.
Don't check .s suffix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66176/new/
https://reviews.llvm.org/D66176
Files:
clang/test/Driver/modules.cpp
Index: clang/test/Driver/modules.cpp
===================================================================
--- clang/test/Driver/modules.cpp
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66176.222205.patch
Type: text/x-patch
Size: 524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190927/9789e708/attachment.bin>
More information about the cfe-commits
mailing list