:: Author: Natalia B. Bidart :: :: Copyright 2011 Canonical Ltd. :: :: This program is free software: you can redistribute it and/or modify it :: under the terms of the GNU General Public License version 3, as published :: by the Free Software Foundation. :: :: This program is distributed in the hope that it will be useful, but :: WITHOUT ANY WARRANTY; without even the implied warranties of :: MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR :: PURPOSE. See the GNU General Public License for more details. :: :: You should have received a copy of the GNU General Public License along :: with this program. If not, see . :: call setup.py build so that the qt uic is called @ECHO off SET MODULE="ubuntuone" SET PYTHONEXEPATH="C:\Python27" SET IGNORE_PATHS="ubuntuone\controlpanel\gui\gtk, ubuntuone\controlpanel\dbustests" "%PYTHONEXEPATH%\python.exe" setup.py build ECHO Running tests :: execute the tests with a number of ignored linux only modules "%PYTHONEXEPATH%\python.exe" "%PYTHONEXEPATH%\Scripts\u1trial" --reactor=qt4 --gui -p %IGNORE_PATHS% %MODULE% :: Clean the build from the setupt.py ECHO Cleaning the generated code before running the style checks... "%PYTHONEXEPATH%\python.exe" setup.py clean ECHO Performing style checks... "%PYTHONEXEPATH%\python.exe" "%PYTHONEXEPATH%\Scripts\u1lint" --ignore ubuntuone\controlpanel\gui\qt\ui "%MODULE%" "%PYTHONEXEPATH%\Scripts\pep8.exe" --exclude ".svn,CVS,.bzr,.hg,.git,*_ui.py,*_rc.py" --repeat . bin\* :: Delete the temp folders RMDIR /s /q _trial_temp