~ubuntu-branches/ubuntu/trusty/ubuntuone-control-panel/trusty-proposed

« back to all changes in this revision

Viewing changes to run-tests.bat

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-12-10 09:56:24 UTC
  • mfrom: (1.1.41)
  • Revision ID: package-import@ubuntu.com-20121210095624-uqwqrftml2gg2xiq
Tags: 4.1.0-0ubuntu1
* New upstream release.
  - Replace simplejson usage with json. (LP: #1029094)
  - Clear search when clicking (X) icon in search entry. (LP: #1070917)
  - Raise existing window if process already running. (LP: #1063927)
  - Don't auto-publish when selecting a search result. (LP: #1065194)
  - Add a new .desktop file for the GNOME-only remix of Ubuntu.
* debian/control:
  - Switch pylint build dependency to pyflakes.
  - Remove python-simplejson from dependencies.
* debian/ubuntuone-control-panel-qt.install:
  - Add new .desktop file for GNOME remix.
  - Remove the messaging menu integration file.
* debian/watch:
  - Update to use stable-4-2 series for Ubuntu 13.04 releases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
ECHO Checking for Python on the path
26
26
:: Look for Python from buildout
27
27
FOR %%A in (python.exe) do (SET PYTHONEXEPATH=%%~$PATH:A)
28
 
FOR %%B in (u1trial) do (SET TRIALPATH=%%~$PATH:B)
29
 
FOR %%C in (u1lint) do (SET LINTPATH=%%~$PATH:C)
 
28
FOR %%B in (u1trial.exe) do (SET TRIALPATH=%%~$PATH:B)
 
29
FOR %%C in (u1lint.exe) do (SET LINTPATH=%%~$PATH:C)
30
30
FOR %%D in (pep8.exe) do (SET PEP8PATH=%%~$PATH:D)
31
31
 
32
32
IF NOT "%PYTHONEXEPATH%" == "" GOTO :PYTHONPRESENT
64
64
"%PYTHONEXEPATH%" setup.py build
65
65
ECHO Running tests
66
66
:: execute the tests with a number of ignored linux only modules
67
 
"%PYTHONEXEPATH%" "%TRIALPATH%" --reactor=qt4 --gui -p %IGNORE_PATHS% -i %IGNORE_MODULES% %PARAMS% %MODULE%
 
67
"%TRIALPATH%" --reactor=qt4 --gui -p %IGNORE_PATHS% -i %IGNORE_MODULES% %PARAMS% %MODULE%
68
68
:: Clean the build from the setupt.py
69
69
ECHO Cleaning the generated code
70
70
"%PYTHONEXEPATH%" setup.py clean
71
71
 
72
72
IF %SKIPLINT% == 1 GOTO :CLEAN
73
73
ECHO Performing style checks...
74
 
"%PYTHONEXEPATH%" "%LINTPATH%" --ignore ubuntuone\controlpanel\gui\qt\ui "%MODULE%"
75
 
"%PEP8PATH%" --exclude ".svn,CVS,.bzr,.hg,.git,*_ui.py,*_rc.py" --repeat . bin\*
 
74
SET USE_PYFLAKES=1
 
75
"%LINTPATH%" --ignore ubuntuone\controlpanel\gui\qt\ui "%MODULE%"
 
76
"%PEP8PATH%" --exclude ".bzr" --repeat . bin\*
76
77
:CLEAN
77
78
:: Delete the temp folders
78
79
IF "%TRIAL_TEMP_DIR%" == "" GOTO :TRIALTEMPEXISTS