run_tests.bat 411 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off

:: %1 --> the python base directory
:: %2 --> the MDANSE source directory

set testsPath=%2\Tests\UnitTests
cd %testsPath%

%1\python.exe %1\Scripts\nosetests --verbosity=3  -P %testsPath%

set testsPath=%2\Tests\FunctionalTests\Jobs
cd %testsPath%

14
del Test_*
15
16
%1\python.exe BuildJobTests.py

17
%1\python.exe %1\Scripts\nosetests --verbosity=3 %testsPath%\Test_*.py
18
19

exit %errorlevel%