mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 22:06:06 +00:00

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.
8 lines
338 B
Plaintext
8 lines
338 B
Plaintext
# Python on an empty file will always succeed as interesting
|
|
# RUN: touch %t
|
|
|
|
# Fail on attempt to write output to a directory
|
|
# RUN: not llvm-reduce --delta-passes=instructions -o %p/Inputs --test %python --test-arg %t %p/Inputs/test-output-format.ll 2>&1 | FileCheck -DMSG=%errc_EISDIR %s
|
|
|
|
# CHECK: error: opening output file: [[MSG]]
|