[clang] 0d69e41 - Explicitly tell Clang to output to stdout in a test that runs FileCheck
Dmitri Gribenko via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 27 01:16:47 PDT 2020
Author: Dmitri Gribenko
Date: 2020-04-27T10:13:28+02:00
New Revision: 0d69e412c4f35dfa891a6b83d94f3f76192868a7
URL: https://github.com/llvm/llvm-project/commit/0d69e412c4f35dfa891a6b83d94f3f76192868a7
DIFF: https://github.com/llvm/llvm-project/commit/0d69e412c4f35dfa891a6b83d94f3f76192868a7.diff
LOG: Explicitly tell Clang to output to stdout in a test that runs FileCheck
Added:
Modified:
clang/test/Sema/builtin-amdgcn-fence-failure.cpp
Removed:
################################################################################
diff --git a/clang/test/Sema/builtin-amdgcn-fence-failure.cpp b/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
index c0de548cc32a..651700cbb63a 100644
--- a/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
+++ b/clang/test/Sema/builtin-amdgcn-fence-failure.cpp
@@ -1,6 +1,5 @@
// REQUIRES: amdgpu-registered-target
-// RUN: not %clang_cc1 %s -S \
-// RUN: -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -o - -S -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
void test_amdgcn_fence_failure() {
More information about the cfe-commits
mailing list