diff tests/run-tests.py @ 14282:10286a04fbd9

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).
author Martin Geisler <mg@aragost.com>
date Mon, 09 May 2011 17:20:15 +0200
parents 8e00906066c9
children 220f31030e7f
line wrap: on
line diff
--- 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)):