Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

fixed bin\runtests.bat windows script

Pablo Hoffman3df9070ffd2a
diff --git a/bin/runtests.bat b/bin/runtests.bat
index 8e4247681..6c882fa3d 100644
--- a/bin/runtests.bat
+++ b/bin/runtests.bat
@@ -1,19 +1,6 @@
@ECHO off
-SET test="scrapy scrapyd"
+SET test=scrapy
+SET PYTHONPATH=%CD%
IF NOT "%1" == "" SET test="%1"
-
-IF EXIST c:\python26\scripts\trial.py GOTO py26
-IF EXIST c:\python25\scripts\trial.py GOTO py25
-
-ECHO "Unable to run tests: trial command (included with Twisted) not found"
-GOTO end
-
-:py26
-c:\python26\scripts\trial.py %test%
-GOTO end
-
-:py25
-c:\python25\scripts\trial.py %test%
-
-:end
+trial --reporter=text %test%