Skip to content

Commit 23adef4

Browse files
committed
[llvm-readtapi][test] Write test outputs into a temporary directory
1 parent 7c87875 commit 23adef4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/test/tools/llvm-readtapi/stubify-invalid.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
; RUN: rm -rf %t
2-
; RUN: not llvm-readtapi -stubify %t/objc.dylib %t/flat_namespace.dylib %t/thread_local.dylib %t/fat.dylib --o tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix OUT
3-
; RUN: not llvm-readtapi -stubify --o tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN
2+
; RUN: mkdir -p %t
3+
; RUN: not llvm-readtapi -stubify %t/objc.dylib %t/flat_namespace.dylib %t/thread_local.dylib %t/fat.dylib --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix OUT
4+
; RUN: not llvm-readtapi -stubify --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN
45

56
; OUT: error: cannot write multiple inputs into single output file
67
; IN: error: stubify requires at least one input file

0 commit comments

Comments
 (0)