[llvm] bfe292b - [llvm] Auto-cleanup left-over file from earlier version of this test on bots

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 06:09:53 PST 2022


Author: Nico Weber
Date: 2022-12-07T09:09:45-05:00
New Revision: bfe292b00fa32f05c810a6ace37bd8b51138a094

URL: https://github.com/llvm/llvm-project/commit/bfe292b00fa32f05c810a6ace37bd8b51138a094
DIFF: https://github.com/llvm/llvm-project/commit/bfe292b00fa32f05c810a6ace37bd8b51138a094.diff

LOG: [llvm] Auto-cleanup left-over file from earlier version of this test on bots

When this test was originally added in 991dfedfd738ce, it didn't pass
`-o` to to llc, causing llc to write a .s file to the source directory.
On the next run, lit would then try to run that as a test.
Make the test auto-cleanup that file for a while.

Added: 
    

Modified: 
    llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir b/llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir
index 27f942468a8dd..fe4fcc1a15bb8 100644
--- a/llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir
+++ b/llvm/test/CodeGen/Generic/MIRDebugify/multifunction-module.mir
@@ -1,3 +1,5 @@
+# FIXME: Remove rm after a few weeks.
+# RUN: rm -f %S/multifunction-module.s
 # RUN: llc -run-pass=mir-debugify,mir-check-debugify -o - %s 2>&1 | FileCheck %s
 
 # CHECK: Machine IR debug info check: PASS


        


More information about the llvm-commits mailing list