Mercurial > hg-stable
changeset 16538:dd194e5df4c1 stable
tests: don't require 'hg' without extension on windows
Hackable uses hg.exe instead.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 28 Apr 2012 01:22:47 +0200 |
parents | 5068d0974278 |
children | 249542ded278 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Sat Apr 28 01:22:35 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