From 91ba4f99df48e973a34a7ab65eccc23f96366380 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 16 Sep 2019 23:56:26 +0000 Subject: [PATCH] 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 --- test/Reduce/remove-args.ll | 1 + test/Reduce/remove-funcs.ll | 1 + test/Reduce/remove-global-vars.ll | 1 + test/Reduce/remove-metadata.ll | 1 + 4 files changed, 4 insertions(+) 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