From: stevenknight Date: Tue, 15 Dec 2009 22:40:17 +0000 (+0000) Subject: Disable QMTest by default, leave it available when --qmtest is used. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d1344da09289e06aea499051fc7c49749dcb2ea1;p=scons.git Disable QMTest by default, leave it available when --qmtest is used. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4550 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/runtest.py b/runtest.py index a2d66010..731f36f2 100644 --- a/runtest.py +++ b/runtest.py @@ -272,20 +272,21 @@ else: try: qmtest except NameError: - # Neither specified; find it in path. qmtest = None - for q in ['qmtest', 'qmtest.py']: - path = whereis(q) - if path: - # The name was found on $PATH; just execute the found name so - # we don't have to worry about paths containing white space. - qmtest = q - break - if not qmtest: - msg = ('Warning: found neither qmtest nor qmtest.py on $PATH;\n' + - '\tassuming --noqmtest option.\n') - sys.stderr.write(msg) - sys.stderr.flush() + # Old code for using QMTest by default if it's installed. + # We now default to not using QMTest unless explicitly asked for. + #for q in ['qmtest', 'qmtest.py']: + # path = whereis(q) + # if path: + # # The name was found on $PATH; just execute the found name so + # # we don't have to worry about paths containing white space. + # qmtest = q + # break + #if not qmtest: + # msg = ('Warning: found neither qmtest nor qmtest.py on $PATH;\n' + + # '\tassuming --noqmtest option.\n') + # sys.stderr.write(msg) + # sys.stderr.flush() aegis = whereis('aegis')