##// END OF EJS Templates
run-tests: add options to runner
Gregory Szorc -
r21348:b3399154 default
parent child Browse files
Show More
@@ -1287,6 +1287,7 b' class TestRunner(object):'
1287 Tests rely on a lot of state. This object holds it for them.
1287 Tests rely on a lot of state. This object holds it for them.
1288 """
1288 """
1289 def __init__(self):
1289 def __init__(self):
1290 self.options = None
1290 self.testdir = None
1291 self.testdir = None
1291 self.hgtmp = None
1292 self.hgtmp = None
1292 self.inst = None
1293 self.inst = None
@@ -1300,6 +1301,7 b' def main(args, parser=None):'
1300
1301
1301 parser = parser or getparser()
1302 parser = parser or getparser()
1302 (options, args) = parseargs(args, parser)
1303 (options, args) = parseargs(args, parser)
1304 runner.options = options
1303 os.umask(022)
1305 os.umask(022)
1304
1306
1305 checktools()
1307 checktools()
General Comments 0
You need to be logged in to leave comments. Login now