run-tests: remove check on --shell argument stable
authorMartin Geisler <mg@aragost.com>
Mon, 09 May 2011 17:20:15 +0200
branchstable
changeset 936 7a8ae4eb18bf
parent 935 60045f152c3b
child 937 d2ee1f7d81f8
child 938 9e55adfb3a21
run-tests: remove check on --shell argument No shell is needed when executing Python tests and finding a good shell might be difficult/impossible on some platforms (e.g., Windows). [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Sat May 07 21:01:15 2011 +0300
+++ b/tests/run-tests.py	Mon May 09 17:20:15 2011 +0200
@@ -180,10 +180,6 @@
     if 'java' in sys.platform or '__pypy__' in sys.modules:
         options.pure = True
 
-    if not (os.path.isfile(options.shell) and
-            os.access(options.shell, os.X_OK)):
-        parser.error('--shell must be executable')
-
     if options.with_hg:
         if not (os.path.isfile(options.with_hg) and
                 os.access(options.with_hg, os.X_OK)):