From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: repoman/
Date: Sun, 15 May 2016 23:51:13 +0000 (UTC) [thread overview]
Message-ID: <1463336223.bc0d74d2933ab1716abbd85d0c9eae811e62b1c3.dolsen@gentoo> (raw)
Message-ID: <20160515235113.M3AWwCBDMQFxqFTEpkPYJjFJCvJMzJS2XykAFDdCSf0@z> (raw)
commit: bc0d74d2933ab1716abbd85d0c9eae811e62b1c3
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 00:21:33 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun May 15 18:17:03 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=bc0d74d2
repoman: Fix the repoman/runtests script to run from it's current location
This allows it to be called from the base portage directory or anywhere else.
repoman/runtests | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/repoman/runtests b/repoman/runtests
index bad83dc..599edda 100755
--- a/repoman/runtests
+++ b/repoman/runtests
@@ -121,6 +121,8 @@ def main(argv):
else:
pyversions.extend(ver.split())
+ here = os.path.dirname(__file__)
+ run_path = os.path.join(here, 'pym/repoman/tests/runTests.py')
tempdir = None
try:
# Set up a single tempdir for all the tests to use.
@@ -132,7 +134,7 @@ def main(argv):
statuses = []
for ver in pyversions:
prog = get_python_executable(ver)
- cmd = [prog, '-b', '-Wd', 'pym/repoman/tests/runTests.py'] + args
+ cmd = [prog, '-b', '-Wd', run_path] + args
if os.access(prog, os.X_OK):
print('%sTesting with Python %s...%s' %
(colors.GOOD, ver, colors.NORMAL))
next reply other threads:[~2016-05-15 23:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 18:34 Brian Dolbec [this message]
2016-05-15 23:51 ` [gentoo-commits] proj/portage:master commit in: repoman/ Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2018-03-30 5:20 [gentoo-commits] proj/portage:repoman " Zac Medico
2018-03-30 0:48 Brian Dolbec
2018-03-29 21:35 Brian Dolbec
2017-12-06 0:16 Brian Dolbec
2017-12-05 18:32 Brian Dolbec
2016-05-15 23:51 [gentoo-commits] proj/portage:master " Brian Dolbec
2016-05-14 20:23 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
2016-05-15 4:41 Brian Dolbec
2016-05-15 0:23 Brian Dolbec
2016-05-14 20:23 Brian Dolbec
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=1463336223.bc0d74d2933ab1716abbd85d0c9eae811e62b1c3.dolsen@gentoo \
--to=dolsen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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