llvm-project/llvm/test/tools/llvm-reduce/fail-execute-test.test
Matt Arsenault e87bec622c
llvm-reduce: Make some error messages more consistent (#133563)
The coding standards states that error messages should start with
a lowercase. Also use WithColor, and add missing test coverage for
the failed to write to output file case.
2025-03-29 14:10:58 +07:00

5 lines
325 B
Plaintext

# RUN: export LSAN_OPTIONS=detect_leaks=0
# RUN: not llvm-reduce --test=%s.NotAFileInTestingDir %p/Inputs/test-output-format.ll 2>&1 | FileCheck -DFILENAME=%s.NotAFileInTestingDir --strict-whitespace %s
# CHECK: error: running interesting-ness test: {{(Executable "[[FILENAME]]" doesn't exist$)?(program not executable$)?}}