diff options
| author | David Blaikie <dblaikie@gmail.com> | 2019-09-16 23:56:26 +0000 | 
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2019-09-16 23:56:26 +0000 | 
| commit | f27367cd32021ff2077d265878503149aa34c3dc (patch) | |
| tree | 758b32a9427684ef29c43b6a0397fc24176afd7b | |
| parent | a458acb5ba85d43c3b1aa1ee2719c2e7e072d0e9 (diff) | |
| download | bcm5719-llvm-f27367cd32021ff2077d265878503149aa34c3dc.tar.gz bcm5719-llvm-f27367cd32021ff2077d265878503149aa34c3dc.zip  | |
llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now it's used as just a single file
llvm-svn: 372054
| -rw-r--r-- | llvm/test/Reduce/remove-args.ll | 1 | ||||
| -rw-r--r-- | llvm/test/Reduce/remove-funcs.ll | 1 | ||||
| -rw-r--r-- | llvm/test/Reduce/remove-global-vars.ll | 1 | ||||
| -rw-r--r-- | llvm/test/Reduce/remove-metadata.ll | 1 | 
4 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Reduce/remove-args.ll b/llvm/test/Reduce/remove-args.ll index 161a6fd3731..8d6130262bf 100644 --- a/llvm/test/Reduce/remove-args.ll +++ b/llvm/test/Reduce/remove-args.ll @@ -1,5 +1,6 @@  ; Test that llvm-reduce can remove uninteresting function arguments from function definitions as well as their calls.  ; +; RUN: rm -rf %t  ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-args.py %s -o %t  ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s diff --git a/llvm/test/Reduce/remove-funcs.ll b/llvm/test/Reduce/remove-funcs.ll index 59ffd849193..8e9b2579a97 100644 --- a/llvm/test/Reduce/remove-funcs.ll +++ b/llvm/test/Reduce/remove-funcs.ll @@ -1,6 +1,7 @@  ; Test that llvm-reduce can remove uninteresting functions as well as  ; their InstCalls.  ; +; RUN: rm -rf %t  ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-funcs.py %s -o %t  ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s diff --git a/llvm/test/Reduce/remove-global-vars.ll b/llvm/test/Reduce/remove-global-vars.ll index b876acd1b8f..003577d2704 100644 --- a/llvm/test/Reduce/remove-global-vars.ll +++ b/llvm/test/Reduce/remove-global-vars.ll @@ -1,6 +1,7 @@  ; Test that llvm-reduce can remove uninteresting Global Variables as well as  ; their direct uses (which in turn are replaced with 'undef').  ; +; RUN: rm -rf %t  ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-global-vars.py %s -o %t  ; RUN: cat %t | FileCheck -implicit-check-not=uninteresting %s diff --git a/llvm/test/Reduce/remove-metadata.ll b/llvm/test/Reduce/remove-metadata.ll index 51a50ca20a9..da7d5a2f16b 100644 --- a/llvm/test/Reduce/remove-metadata.ll +++ b/llvm/test/Reduce/remove-metadata.ll @@ -1,6 +1,7 @@  ; Test that llvm-reduce can remove uninteresting metadata from an IR file.  ; The Metadata pass erases named & unnamed metadata nodes.  ; +; RUN: rm -rf %t  ; RUN: llvm-reduce --test %python --test-arg %p/Inputs/remove-metadata.py %s -o %t  ; RUN: cat %t | FileCheck -implicit-check-not=! %s  | 

