tests/run-tests.py
branchstable
changeset 33592 cc96449f00c9
parent 33580 20436925e080
child 33721 eeed23508383
equal deleted inserted replaced
33591:ee11d18fcd3c 33592:cc96449f00c9
   267     parser.add_option("-C", "--annotate", action="store_true",
   267     parser.add_option("-C", "--annotate", action="store_true",
   268         help="output files annotated with coverage")
   268         help="output files annotated with coverage")
   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"
   276              " rather than capturing and diffing it (disables timeout)")
   276              " rather than capturing and diffing it (disables timeout)")
   277     parser.add_option("-f", "--first", action="store_true",
   277     parser.add_option("-f", "--first", action="store_true",