Fuzzer: remove temporary files after we're done with them.
authorTim Northover <tnorthover@apple.com>
Mon, 5 Mar 2018 15:49:00 +0000 (15:49 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 5 Mar 2018 15:49:00 +0000 (15:49 +0000)
These were just copies of the relevant fuzzer binary with (presumably)
meaningful suffixes, but accounted for more than 10% of my build
directory (> 8GB). Hard drive space is cheap, but not that cheap.

llvm-svn: 326710

llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll
llvm/test/tools/llvm-isel-fuzzer/execname-options.ll
llvm/test/tools/llvm-opt-fuzzer/exec-options.ll

index 339d7b6b8e79436935bf3132084dea144e70b780..7ad0a03a16c8d5a42f0abee195a60fa51e32bacc 100644 (file)
@@ -7,12 +7,15 @@
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64
 ; RUN: %t.bin--aarch64 %t.input 2>&1 | FileCheck -check-prefix=AARCH64 %s
+; RUN: rm %t.bin--aarch64
 ; AARCH64: Injected args: -mtriple=aarch64
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--aarch64-O1
 ; RUN: %t.bin--aarch64-O1 %t.input 2>&1 | FileCheck -check-prefix=OPT-AFTER %s
+; RUN: rm %t.bin--aarch64-O1
 ; OPT-AFTER: Injected args: -mtriple=aarch64 -O1
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--O3-aarch64
 ; RUN: %t.bin--O3-aarch64 %t.input 2>&1 | FileCheck -check-prefix=OPT-BEFORE %s
+; RUN: rm %t.bin--O3-aarch64
 ; OPT-BEFORE: Injected args: -O3 -mtriple=aarch64
index a825cb450cc514a142b4557555f1264bb0250eff..fbfbc9aee996917df21ddf320d327e0367899544 100644 (file)
@@ -6,14 +6,17 @@
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--gisel
 ; RUN: not %t.bin--gisel %t.input 2>&1 | FileCheck -check-prefix=GISEL %s
+; RUN: rm %t.bin--gisel
 ; GISEL: Injected args: -global-isel -O0
 ; GISEL: -mtriple must be specified
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--gisel-O2
 ; RUN: not %t.bin--gisel-O2 %t.input 2>&1 | FileCheck -check-prefix=GISEL-O2 %s
+; RUN: rm %t.bin--gisel-O2
 ; GISEL-O2: Injected args: -global-isel -O0 -O2
 ; GISEL-O2: -mtriple must be specified
 
 ; RUN: cp llvm-isel-fuzzer %t.bin--unexist
 ; RUN: not %t.bin--unexist %t.input 2>&1 | FileCheck -check-prefix=NO-OPT %s
+; RUN: rm %t.bin--unexist
 ; NO-OPT: Unknown option:
index dc4daa7fc1d4838cf41c4f804b049f620ee403a7..9c87abc3722d60d329d6dbd23d729ba5d01183aa 100644 (file)
@@ -8,17 +8,21 @@
 
 ; RUN: cp llvm-opt-fuzzer %t.bin--
 ; RUN: not %t.bin-- %t.input 2>&1 | FileCheck -check-prefix=EMPTY %s
+; RUN: rm %t.bin--
 ; EMPTY: -mtriple must be specified
 
 ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64
 ; RUN: not %t.bin--x86_64 %t.input 2>&1 | FileCheck -check-prefix=PASSES %s
+; RUN: rm %t.bin--x86_64
 ; PASSES: at least one pass should be specified
 
 ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-unknown
 ; RUN: not %t.bin--x86_64-unknown %t.input 2>&1 | FileCheck -check-prefix=UNKNOWN %s
+; RUN: rm %t.bin--x86_64-unknown
 ; UNKNOWN: Unknown option: unknown
 
 ; RUN: cp llvm-opt-fuzzer %t.bin--x86_64-instcombine
 ; RUN: %t.bin--x86_64-instcombine %t.input 2>&1 | FileCheck -check-prefix=CORRECT %s
+; RUN: rm %t.bin--x86_64-instcombine
 ; CORRECT: Injected args: -mtriple=x86_64 -passes=instcombine
 ; CORRECT: Running