Merge lp:~brian.curtin/ubuntuone-client/run-tests-update into lp:ubuntuone-client

Proposed by Brian Curtin
Status: Merged
Approved by: Roberto Alsina
Approved revision: 1334
Merged at revision: 1334
Proposed branch: lp:~brian.curtin/ubuntuone-client/run-tests-update
Merge into: lp:ubuntuone-client
Diff against target: 29 lines (+4/-4)
1 file modified
run-tests.bat (+4/-4)
To merge this branch: bzr merge lp:~brian.curtin/ubuntuone-client/run-tests-update
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+128582@code.launchpad.net

Commit message

- Update run-tests.bat to work with buildout changes to executable paths.

Description of the change

Update Windwos run-tests script to work with recent buildout changes

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'run-tests.bat'
2--- run-tests.bat 2012-07-30 18:54:17 +0000
3+++ run-tests.bat 2012-10-08 20:35:27 +0000
4@@ -34,8 +34,8 @@
5 ECHO Checking for Python on the path
6 :: Look for Python from buildout
7 FOR %%A in (python.exe) do (SET PYTHONEXEPATH=%%~$PATH:A)
8-FOR %%B in (u1trial) do (SET TRIALPATH=%%~$PATH:B)
9-FOR %%C in (u1lint) do (SET LINTPATH=%%~$PATH:C)
10+FOR %%B in (u1trial.exe) do (SET TRIALPATH=%%~$PATH:B)
11+FOR %%C in (u1lint.exe) do (SET LINTPATH=%%~$PATH:C)
12 FOR %%D in (pep8.exe) do (SET PEP8PATH=%%~$PATH:D)
13
14 IF NOT "%PYTHONEXEPATH%" == "" GOTO :PYTHONPRESENT
15@@ -74,13 +74,13 @@
16 COPY windows\clientdefs.py ubuntuone\clientdefs.py
17 COPY windows\logging.conf data\logging.conf
18 :: execute the tests with a number of ignored linux and mac os only modules
19-"%PYTHONEXEPATH%" "%TRIALPATH%" --reactor=twisted -c -p tests\platform\linux -i "test_linux.py,test_darwin.py,test_fsevents_daemon.py" %PARAMS% tests
20+"%TRIALPATH%" --reactor=twisted -c -p tests\platform\linux -i "test_linux.py,test_darwin.py,test_fsevents_daemon.py" %PARAMS% tests
21
22 IF %SKIPLINT% == 1 (
23 ECHO Skipping style checks
24 GOTO :CLEAN)
25 ECHO Performing style checks...
26-"%PYTHONEXEPATH%" "%LINTPATH%"
27+"%LINTPATH%"
28
29 "%PYTHONEXEPATH%" tests\platform\check_reactor_import.py
30

Subscribers

People subscribed via source and target branches