[llvm] 3b0b096 - llvm-reduce: Try to fix test on windows

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 17:38:47 PST 2022


Author: Matt Arsenault
Date: 2022-12-20T20:38:41-05:00
New Revision: 3b0b0965c4eb603af5d97733775df315ba2241a1

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

LOG: llvm-reduce: Try to fix test on windows

It seems to not like the environment variable set syntax.

Added: 
    

Modified: 
    llvm/test/tools/llvm-reduce/disable-crash-reports.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-reduce/disable-crash-reports.test b/llvm/test/tools/llvm-reduce/disable-crash-reports.test
index 6f9a55b04d7f..b832489e9109 100644
--- a/llvm/test/tools/llvm-reduce/disable-crash-reports.test
+++ b/llvm/test/tools/llvm-reduce/disable-crash-reports.test
@@ -1,3 +1,4 @@
+# REQUIRES: shell
 # RUN: llvm-reduce --delta-passes=global-variables --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=INTERESTING %s
 
 # RUN: env LLVM_DISABLE_CRASH_REPORT=0 llvm-reduce --delta-passes=global-variables --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=INTERESTING %s


        


More information about the llvm-commits mailing list