Fix compiler extension testing
authorserge-sans-paille <sguelton@redhat.com>
Fri, 3 Jan 2020 14:38:27 +0000 (15:38 +0100)
committerserge-sans-paille <sguelton@redhat.com>
Fri, 3 Jan 2020 14:42:35 +0000 (15:42 +0100)
Correctly declare example dependency. Pipe stderr through FileCheck.

Differential Revision: https://reviews.llvm.org/D72130

llvm/test/CMakeLists.txt
llvm/test/Feature/load_extension.ll

index be5abe2..7a8b51e 100644 (file)
@@ -135,6 +135,7 @@ endif()
 
 if(LLVM_BUILD_EXAMPLES)
   list(APPEND LLVM_TEST_DEPENDS
+    Bye
     Kaleidoscope-Ch3
     Kaleidoscope-Ch4
     Kaleidoscope-Ch5
index 3c34694..62b49ba 100644 (file)
@@ -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