From: David Blaikie Date: Mon, 16 Sep 2019 23:56:26 +0000 (+0000) Subject: llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=596e6cecd153dde81195d98d78284f0aa4767256;p=llvm llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now it's used as just a single file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372054 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Reduce/remove-args.ll b/test/Reduce/remove-args.ll index 161a6fd3731..8d6130262bf 100644 --- a/test/Reduce/remove-args.ll +++ b/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/test/Reduce/remove-funcs.ll b/test/Reduce/remove-funcs.ll index 59ffd849193..8e9b2579a97 100644 --- a/test/Reduce/remove-funcs.ll +++ b/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/test/Reduce/remove-global-vars.ll b/test/Reduce/remove-global-vars.ll index b876acd1b8f..003577d2704 100644 --- a/test/Reduce/remove-global-vars.ll +++ b/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/test/Reduce/remove-metadata.ll b/test/Reduce/remove-metadata.ll index 51a50ca20a9..da7d5a2f16b 100644 --- a/test/Reduce/remove-metadata.ll +++ b/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