llvm-project/llvm/test/tools/llvm-reduce/command-line-behavior.test
Matt Arsenault 84e888e5e4 llvm-reduce: Speculative fix for windows build bot
I'm guessing grep wasn't matching the backtick in the message for some
reason.
2023-01-03 17:00:35 -05:00

13 lines
555 B
Plaintext

# 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"