ahatanak created this revision. ahatanak added reviewers: tra, MaskRay. ahatanak added a project: clang. Herald added a subscriber: wenlei. Herald added a project: All. ahatanak requested review of this revision.
The test case was failing because "-f{{[^"]*coverage.*}}" was matching the following string: "-fdebug-compilation-dir=/Users/buildslave/jenkins/workspace/coverage/" Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D152485 Files: clang/test/Driver/cuda-no-pgo-or-coverage.cu Index: clang/test/Driver/cuda-no-pgo-or-coverage.cu =================================================================== --- clang/test/Driver/cuda-no-pgo-or-coverage.cu +++ clang/test/Driver/cuda-no-pgo-or-coverage.cu @@ -26,7 +26,7 @@ // CHECK-NOT: error: unsupported option '-fprofile // CHECK-NOT: error: invalid argument // CHECK-DAG: "-fcuda-is-device" -// CHECK-NOT: "-f{{[^"]*coverage.*}}" +// CHECK-NOT: "-f{{[^"/]*coverage.*}}" // CHECK-NOT: "-fprofile{{[^"]*}}" // CHECK: "-triple" "x86_64-unknown-linux-gnu" // PROF: "-fprofile{{.*}}"
Index: clang/test/Driver/cuda-no-pgo-or-coverage.cu =================================================================== --- clang/test/Driver/cuda-no-pgo-or-coverage.cu +++ clang/test/Driver/cuda-no-pgo-or-coverage.cu @@ -26,7 +26,7 @@ // CHECK-NOT: error: unsupported option '-fprofile // CHECK-NOT: error: invalid argument // CHECK-DAG: "-fcuda-is-device" -// CHECK-NOT: "-f{{[^"]*coverage.*}}" +// CHECK-NOT: "-f{{[^"/]*coverage.*}}" // CHECK-NOT: "-fprofile{{[^"]*}}" // CHECK: "-triple" "x86_64-unknown-linux-gnu" // PROF: "-fprofile{{.*}}"
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits