[LNT][PATCH] fix duplicated command name in nt test usage message
Daniel Dunbar
daniel at zuster.org
Fri Aug 9 10:17:13 PDT 2013
Hi Chris,
Looks like compilepy and main.py also has a couple instances of this
problem, can you nail those too with this patch?
- Daniel
On Thu, Aug 8, 2013 at 4:11 PM, Chris Matthews <chris.matthews at apple.com>wrote:
> This patch fixes two duplicated command names in the lnt runtest nt usage
> message. Right now it looks like this:
>
> Usage: lnt lnt runtest nt
>
> Changed to:
>
> Usage: lnt runtest nt
>
>
> Index: lnt/tests/nt.py
> ===================================================================
> --- lnt/tests/nt.py (revision 188013)
> +++ lnt/tests/nt.py (working copy)
> @@ -925,7 +925,7 @@
>
> Basic usage:
>
> - %%prog %(name)s \\
> + %(name)s \\
> --sandbox FOO \\
> --cc ~/llvm.obj.64/Release/bin/clang \\
> --test-suite ~/llvm-test-suite
> @@ -955,7 +955,7 @@
>
> def run_test(self, name, args):
> parser = OptionParser(
> - ("%%prog %(name)s [options] tester-name\n" + usage_info) %
> locals())
> + ("%(name)s [options] tester-name\n" + usage_info) % locals())
>
> group = OptionGroup(parser, "Sandbox Options")
> group.add_option("-s", "--sandbox", dest="sandbox_path",
>
>
>
>
>
>
> Chris Matthews
> chris.matthews at apple.com
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130809/c15084a0/attachment.html>
More information about the llvm-commits
mailing list