1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-25 22:24:33 +00:00
scrapy/bin/runtests.bat
pablo 7b34e08392 sorted out running of unittests:
1. removed scrapy.tests.run module which didn't work well because of a problem
   with Twisted trial
2. added runtests.bat script for running tests in windows
3. added additional lookup path for trial in unix systems
2009-05-16 20:11:23 -03:00

20 lines
364 B
Batchfile

@ECHO off
SET test="scrapy"
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