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 ]
--- 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)):