[llvm] b2be259 - Fix compiler extension testing
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 06:43:16 PST 2020
Author: serge-sans-paille
Date: 2020-01-03T15:42:35+01:00
New Revision: b2be259fa9875adab2584b19ac8197543499ab87
URL: https://github.com/llvm/llvm-project/commit/b2be259fa9875adab2584b19ac8197543499ab87
DIFF: https://github.com/llvm/llvm-project/commit/b2be259fa9875adab2584b19ac8197543499ab87.diff
LOG: Fix compiler extension testing
Correctly declare example dependency. Pipe stderr through FileCheck.
Differential Revision: https://reviews.llvm.org/D72130
Added:
Modified:
llvm/test/CMakeLists.txt
llvm/test/Feature/load_extension.ll
Removed:
################################################################################
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index be5abe279afb..7a8b51e2d69e 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -135,6 +135,7 @@ endif()
if(LLVM_BUILD_EXAMPLES)
list(APPEND LLVM_TEST_DEPENDS
+ Bye
Kaleidoscope-Ch3
Kaleidoscope-Ch4
Kaleidoscope-Ch5
diff --git a/llvm/test/Feature/load_extension.ll b/llvm/test/Feature/load_extension.ll
index 3c3469499a7c..62b49bac6339 100644
--- a/llvm/test/Feature/load_extension.ll
+++ b/llvm/test/Feature/load_extension.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s %loadbye -goodbye -wave-goodbye -disable-output | FileCheck %s
+; RUN: opt %s %loadbye -goodbye -wave-goodbye -disable-output 2>&1 | FileCheck %s
; REQUIRES: plugins, examples
; CHECK: Bye
More information about the llvm-commits
mailing list