Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: nathan_lynch@mentor.com (Nathan Lynch)
Subject: [lttng-dev] [PATCH] lttng-tools: remove bogus argument from prove invocation
Date: Mon, 27 Oct 2014 21:00:06 -0500	[thread overview]
Message-ID: <1414461606-24103-1-git-send-email-nathan_lynch@mentor.com> (raw)

An argument of "$2" was added to the prove command line in
tests/run.sh by 68270f0f604e "Mi test: Basic test structure".  This is
harmless since run.sh is never called with more than one argument, but
it is confusing, and it breaks patches in OE that add support for
running tests on the target.

Signed-off-by: Nathan Lynch <nathan_lynch at mentor.com>
---
 tests/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/run.sh b/tests/run.sh
index ce51639f7626..c6c50fd9cff9 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -19,4 +19,4 @@
 
 [ -z "$1" ] && echo "Error: No testlist. Please specify a testlist to run." && exit 1
 
-prove $2 --merge --exec '' - < $1
+prove --merge --exec '' - < $1
-- 
1.9.3




             reply	other threads:[~2014-10-28  2:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-28  2:00 Nathan Lynch [this message]
2014-10-28  2:38 ` Jonathan Rajotte
2014-10-28  4:02   ` Nathan Lynch
2014-10-28  4:15     ` Jonathan Rajotte
2014-10-29 18:28 ` David Goulet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1414461606-24103-1-git-send-email-nathan_lynch@mentor.com \
    --to=nathan_lynch@mentor.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox