[llvm] r372054 - llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now it's used as just a single file

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 16:56:26 PDT 2019


Author: dblaikie
Date: Mon Sep 16 16:56:26 2019
New Revision: 372054

URL: http://llvm.org/viewvc/llvm-project?rev=372054&view=rev
Log:
llvm-reduce: Clean out previous test temp/output dir, since it was a dir and now it's used as just a single file

Modified:
    llvm/trunk/test/Reduce/remove-args.ll
    llvm/trunk/test/Reduce/remove-funcs.ll
    llvm/trunk/test/Reduce/remove-global-vars.ll
    llvm/trunk/test/Reduce/remove-metadata.ll

Modified: llvm/trunk/test/Reduce/remove-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Reduce/remove-args.ll?rev=372054&r1=372053&r2=372054&view=diff
==============================================================================
--- llvm/trunk/test/Reduce/remove-args.ll (original)
+++ llvm/trunk/test/Reduce/remove-args.ll Mon Sep 16 16:56:26 2019
@@ -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
 

Modified: llvm/trunk/test/Reduce/remove-funcs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Reduce/remove-funcs.ll?rev=372054&r1=372053&r2=372054&view=diff
==============================================================================
--- llvm/trunk/test/Reduce/remove-funcs.ll (original)
+++ llvm/trunk/test/Reduce/remove-funcs.ll Mon Sep 16 16:56:26 2019
@@ -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
 

Modified: llvm/trunk/test/Reduce/remove-global-vars.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Reduce/remove-global-vars.ll?rev=372054&r1=372053&r2=372054&view=diff
==============================================================================
--- llvm/trunk/test/Reduce/remove-global-vars.ll (original)
+++ llvm/trunk/test/Reduce/remove-global-vars.ll Mon Sep 16 16:56:26 2019
@@ -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
 

Modified: llvm/trunk/test/Reduce/remove-metadata.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Reduce/remove-metadata.ll?rev=372054&r1=372053&r2=372054&view=diff
==============================================================================
--- llvm/trunk/test/Reduce/remove-metadata.ll (original)
+++ llvm/trunk/test/Reduce/remove-metadata.ll Mon Sep 16 16:56:26 2019
@@ -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
 




More information about the llvm-commits mailing list