##// END OF EJS Templates
tests: add support in run-tests.py for an environment variable to stop color...
Augie Fackler -
r33593:cc96449f stable
parent child Browse files
Show More
@@ -269,7 +269,7 b' def getparser():'
269 parser.add_option("-c", "--cover", action="store_true",
269 parser.add_option("-c", "--cover", action="store_true",
270 help="print a test coverage report")
270 help="print a test coverage report")
271 parser.add_option("--color", choices=["always", "auto", "never"],
271 parser.add_option("--color", choices=["always", "auto", "never"],
272 default="auto",
272 default=os.environ.get('HGRUNTESTSCOLOR', 'auto'),
273 help="colorisation: always|auto|never (default: auto)")
273 help="colorisation: always|auto|never (default: auto)")
274 parser.add_option("-d", "--debug", action="store_true",
274 parser.add_option("-d", "--debug", action="store_true",
275 help="debug mode: write output of test scripts to console"
275 help="debug mode: write output of test scripts to console"
General Comments 0
You need to be logged in to leave comments. Login now