aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-20 11:21:22 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-20 11:21:22 +0200
commite960bb63efceaf29fda453a5014601c9947ba66e (patch)
treed6233438e4a3c71a4dca943f24b8b2971310335a
parent7d3710eb6b49ff9996ff434e9ea2fcd6c902cc3d (diff)
runtest-junitxml.py: Use $HOME as default 'directory'
-rwxr-xr-xruntest-junitxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtest-junitxml.py b/runtest-junitxml.py
index c54701d..460619f 100755
--- a/runtest-junitxml.py
+++ b/runtest-junitxml.py
@@ -64,7 +64,7 @@ def parse_options():
parser = OptionParser(usage="usage: %prog [options] test-case-list.txt")
parser.add_option('-d', '--directory', dest='directory', metavar='DIR',
help='Directory where to look for .guile file',
- default="~")
+ default=os.environ['HOME'])
parser.add_option('-t', '--timeout', dest='timeout', metavar='TOUT',
help='Timeout for individual test case in sconds',
default=60, type='int')