r373275 - Fix Driver/modules.cpp test to work when build directory name contains '.s'
Tom Stellard via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 30 16:42:17 PDT 2019
Author: tstellar
Date: Mon Sep 30 16:42:17 2019
New Revision: 373275
URL: http://llvm.org/viewvc/llvm-project?rev=373275&view=rev
Log:
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
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=373275&r1=373274&r2=373275&view=diff
==============================================================================
--- cfe/trunk/test/Driver/modules.cpp (original)
+++ cfe/trunk/test/Driver/modules.cpp Mon Sep 30 16:42:17 2019
@@ -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
More information about the cfe-commits
mailing list