run-tests: remove check on --shell argument
authorMartin Geisler <mg@aragost.com>
Mon, 09 May 2011 17:20:15 +0200
changeset 14282 10286a04fbd9
parent 14281 ccb7240acf32
child 14283 035489c9ea53
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).
tests/run-tests.py
--- a/tests/run-tests.py	Mon May 09 17:15:44 2011 +0200
+++ 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)):