From: Tom Stellard Date: Mon, 30 Sep 2019 23:42:17 +0000 (+0000) Subject: Fix Driver/modules.cpp test to work when build directory name contains '.s' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ea70c9ede7ac82d9363c122a9a84aded054984c;p=clang 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373275 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/modules.cpp b/test/Driver/modules.cpp index 7c549c1300..4f4e3a4140 100644 --- a/test/Driver/modules.cpp +++ b/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