aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-03-31 00:45:23 -0700
committerZac Medico <zmedico@gentoo.org>2021-03-31 00:46:15 -0700
commitb09b4071151d8e3a81f3576843d00f88eb407799 (patch)
tree353b0621945b03e68307e53ed1a1e0538a6b5484
parentrepoman: fix ModuleConfig _not_installed path (bug 779055) (diff)
downloadportage-b09b4071151d8e3a81f3576843d00f88eb407799.tar.gz
portage-b09b4071151d8e3a81f3576843d00f88eb407799.tar.bz2
portage-b09b4071151d8e3a81f3576843d00f88eb407799.zip
SimpleRepomanTestCase: use -vvvv for debug mode
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--repoman/lib/repoman/tests/simple/test_simple.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/repoman/lib/repoman/tests/simple/test_simple.py b/repoman/lib/repoman/tests/simple/test_simple.py
index 3a699a708..60c62acc1 100644
--- a/repoman/lib/repoman/tests/simple/test_simple.py
+++ b/repoman/lib/repoman/tests/simple/test_simple.py
@@ -62,6 +62,8 @@ class RepomanRun(types.SimpleNamespace):
def _subprocess(args, cwd, env, expected, debug):
os.chdir(cwd)
os.environ.update(env)
+ if debug:
+ args = ["-vvvv"] + args
repoman_vars = _repoman_init(["repoman"] + args)
if repoman_vars.exitcode is not None:
return repoman_vars.exitcode