diff options
author | Ying Yi <maggieyi666@gmail.com> | 2016-07-22 10:52:21 +0000 |
---|---|---|
committer | Ying Yi <maggieyi666@gmail.com> | 2016-07-22 10:52:21 +0000 |
commit | 60a3da3f4c69a5d5082dbafcecf3f0ddec8bafe5 (patch) | |
tree | 4f9fe571b218599c2d38d2ef1286ad1eeb1ba241 /llvm/test/tools/llvm-cov | |
parent | 0576ad6d35e59ec49d934841abbd45ffb6ed5866 (diff) | |
download | bcm5719-llvm-60a3da3f4c69a5d5082dbafcecf3f0ddec8bafe5.tar.gz bcm5719-llvm-60a3da3f4c69a5d5082dbafcecf3f0ddec8bafe5.zip |
[llvm-cov] - Improve llvm-cov error message
Summary:
When giving the following command:
% llvm-cov report -instr-profile=default.profraw
llvm-cov will give the following error message:
>llvm-cov report: Not enough positional command line arguments specified!
>Must specify at least 1 positional arguments: See: orbis-llvm-cov report -help
This patch changes the error message from '1 positional arguments'
to '1 positional argument'.
Differential Revision: https://reviews.llvm.org/D22621
llvm-svn: 276404
Diffstat (limited to 'llvm/test/tools/llvm-cov')
-rw-r--r-- | llvm/test/tools/llvm-cov/universal-binary.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/universal-binary.c b/llvm/test/tools/llvm-cov/universal-binary.c index 8ff94d4e3ad..0d3eb4cfa56 100644 --- a/llvm/test/tools/llvm-cov/universal-binary.c +++ b/llvm/test/tools/llvm-cov/universal-binary.c @@ -8,3 +8,6 @@ int main(int argc, const char *argv[]) {} // RUN: not llvm-cov show %S/Inputs/universal-binary -instr-profile %t.profdata -filename-equivalence %s -arch i386 2>&1 | FileCheck --check-prefix=WRONG-ARCH %s // WRONG-ARCH: Failed to load coverage + +// RUN: not llvm-cov report -instr-profile %t.profdata 2>&1 | FileCheck --check-prefix=MISSING-BINARY %s +// MISSING-BINARY: 1 positional argument: See: |