# HG changeset patch # User Mads Kiilerich # Date 1335568967 -7200 # Node ID c1d229864cd37345a90a1c42697e695de7ba91ae # Parent 0e3b1a8a243cd8b24cdd5020e08e05f1637a7986 tests: don't require 'hg' without extension on windows Hackable uses hg.exe instead. [ original upstream message ] diff -r 0e3b1a8a243c -r c1d229864cd3 tests/run-tests.py --- a/tests/run-tests.py Wed Apr 04 15:59:56 2012 +0200 +++ b/tests/run-tests.py Sat Apr 28 01:22:47 2012 +0200 @@ -209,7 +209,7 @@ if options.local: testdir = os.path.dirname(os.path.realpath(sys.argv[0])) hgbin = os.path.join(os.path.dirname(testdir), 'hg') - if not os.access(hgbin, os.X_OK): + if os.name != 'nt' and not os.access(hgbin, os.X_OK): parser.error('--local specified, but %r not found or not executable' % hgbin) options.with_hg = hgbin