[PATCH] D82986: [Coroutines] Fix test breakage in D82928

Xun Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 1 11:21:01 PDT 2020


lxfind created this revision.
lxfind added reviewers: modocache, fhahn.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
modocache accepted this revision.
modocache added a comment.
This revision is now accepted and ready to land.

Thanks for the fix!


The test file in D82928 <https://reviews.llvm.org/D82928> generated temp files within the test directory, causing test failures. Fix it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82986

Files:
  clang/test/CoverageMapping/coroutine.cpp


Index: clang/test/CoverageMapping/coroutine.cpp
===================================================================
--- clang/test/CoverageMapping/coroutine.cpp
+++ clang/test/CoverageMapping/coroutine.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines-ts -std=c++14 -emit-llvm -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcoroutines-ts -std=c++14 -emit-llvm -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping %s -o - | FileCheck %s
 
 namespace std::experimental {
 template <typename... T>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82986.274878.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200701/f70d4db6/attachment-0001.bin>


More information about the cfe-commits mailing list