mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 08:46:06 +00:00

The default argument behavior test tries to make use of the default reduced.ll, so other tests should not try to write to the same file. Maybe fixes issue #61132.
13 lines
1.3 KiB
Plaintext
13 lines
1.3 KiB
Plaintext
# 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 -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=INTERESTING %s
|
|
|
|
# RUN: not llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=NOTINTERESTING %s
|
|
|
|
# RUN: env LLVM_DISABLE_CRASH_REPORT=0 not llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=NOTINTERESTING %s
|
|
|
|
# RUN: env LLVM_DISABLE_CRASH_REPORT=1 LLVM_DISABLE_SYMBOLIZATION=1 llvm-reduce --preserve-debug-environment --delta-passes=global-variables -o %t --test %python --test-arg %p/Inputs/test-crash-vars.py %p/Inputs/test-output-format.ll 2>&1 | FileCheck -check-prefix=INTERESTING %s
|
|
|
|
INTERESTING: Done reducing! Reduced testcase:
|
|
NOTINTERESTING: Input isn't interesting! Verify interesting-ness test
|