llvm-project/llvm/test/tools/llvm-profdata/errors.test

9 lines
420 B
Plaintext

RUN: not llvm-profdata show 2>&1 | FileCheck %s --check-prefix SHOW-REQ
SHOW-REQ: the positional argument '<profdata-file>' is required unless '--debug-info' is provided
RUN: not llvm-profdata show file -o file 2>&1 | FileCheck %s --check-prefix SHOW-OUT
SHOW-OUT: Input file name cannot be the same as the output file name!
RUN: not llvm-profdata 2>&1 | FileCheck %s --check-prefix EMPTY
EMPTY: No command specified!