# HG changeset patch # User Oleg Oshmyan # Date 1307094851 -3600 # Node ID 6261eea8a975b92b0d9af5b61702cc1afe98b5e4 # Parent 006dce02752cbf877d3da44c49d3fc370a4c05a7 Positional cmdline arguments now override testconf.tests and disable groups diff -r 006dce02752c -r 6261eea8a975 upreckon/config.py --- a/upreckon/config.py Fri Jun 03 02:39:02 2011 +0100 +++ b/upreckon/config.py Fri Jun 03 10:54:11 2011 +0100 @@ -4,7 +4,7 @@ from .compat import * from . import files -from __main__ import options +from __main__ import options, args if files.ZipArchive: try: @@ -179,6 +179,9 @@ setattr(module, name, newmap) if options.no_maxtime: module.maxcputime = module.maxwalltime = 0 + if args: + module.usegroups = False + module.tests = args try: sys.dont_write_bytecode = dwb except NameError: