[llvm] 23adef4 - [llvm-readtapi][test] Write test outputs into a temporary directory

Dmitri Gribenko via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 04:25:46 PST 2023


Author: Dmitri Gribenko
Date: 2023-12-21T13:25:33+01:00
New Revision: 23adef4b85e341d4f0d1ff2d2185e4b3fa499a05

URL: https://github.com/llvm/llvm-project/commit/23adef4b85e341d4f0d1ff2d2185e4b3fa499a05
DIFF: https://github.com/llvm/llvm-project/commit/23adef4b85e341d4f0d1ff2d2185e4b3fa499a05.diff

LOG: [llvm-readtapi][test] Write test outputs into a temporary directory

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-readtapi/stubify-invalid.test b/llvm/test/tools/llvm-readtapi/stubify-invalid.test
index 3ecc9ff1aeee3a..ae97d47c519914 100644
--- a/llvm/test/tools/llvm-readtapi/stubify-invalid.test
+++ b/llvm/test/tools/llvm-readtapi/stubify-invalid.test
@@ -1,6 +1,7 @@
 ; RUN: rm -rf %t
-; 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
-; RUN: not llvm-readtapi -stubify --o tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN 
+; RUN: mkdir -p %t
+; 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
+; RUN: not llvm-readtapi -stubify --o %t/tmp.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix IN
 
 ; OUT: error: cannot write multiple inputs into single output file
 ; IN: error: stubify requires at least one input file


        


More information about the llvm-commits mailing list