bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-reduce/command-line-behavior.test
2025-02-14 19:21:04 +01:00

12 lines
555 B
Text

# Print the help output if no arguments are specified
# RUN: llvm-reduce --help | grep "LLVM automatic testcase reducer"
# RUN: llvm-reduce | grep "LLVM automatic testcase reducer"
# Don't require any other arguments for --print-delta-passes
# RUN: llvm-reduce --print-delta-passes | grep "Delta passes"
# Missing test input
# RUN: not llvm-reduce --test FileCheck 2>&1 | grep "error: reduction testcase positional argument must be specified"
# Missing test script
# RUN: not llvm-reduce some-input 2>&1 | grep "error: --test option must be specified"