summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit/tests/selecting.py
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-10-10 18:03:37 +0000
committerJulian Lettner <jlettner@apple.com>2019-10-10 18:03:37 +0000
commit822946ceaabbef8ce8b064e6c7aa10d2930890af (patch)
tree58f146cfb8482d3b13796289110b4e9afdf35eda /llvm/utils/lit/tests/selecting.py
parente80a2616c8dd5c6b4cae79b86184c98e186a439e (diff)
downloadbcm5719-llvm-822946ceaabbef8ce8b064e6c7aa10d2930890af.tar.gz
bcm5719-llvm-822946ceaabbef8ce8b064e6c7aa10d2930890af.zip
[lit] Leverage argparse features to remove some code
Reviewed By: rnk, serge-sans-paille Differential Revision: https://reviews.llvm.org/D68589 llvm-svn: 374405
Diffstat (limited to 'llvm/utils/lit/tests/selecting.py')
-rw-r--r--llvm/utils/lit/tests/selecting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/selecting.py b/llvm/utils/lit/tests/selecting.py
index 25ac299d865..0d6fa938e4a 100644
--- a/llvm/utils/lit/tests/selecting.py
+++ b/llvm/utils/lit/tests/selecting.py
@@ -87,7 +87,7 @@
#
# RUN: not %{lit} --num-shards 0 --run-shard 2 %{inputs}/discovery >%t.out 2>%t.err
# RUN: FileCheck --check-prefix=CHECK-SHARD-ERR < %t.err %s
-# CHECK-SHARD-ERR: error: --num-shards must be positive
+# CHECK-SHARD-ERR: error: argument --num-shards: requires positive integer, but found '0'
#
# RUN: not %{lit} --num-shards 3 --run-shard 4 %{inputs}/discovery >%t.out 2>%t.err
# RUN: FileCheck --check-prefix=CHECK-SHARD-ERR2 < %t.err %s
OpenPOWER on IntegriCloud