OLD | NEW |
---|---|
(Empty) | |
1 :: Locations | |
2 @set out_directory=..\..\out\NativeClientVSAddIn\Test | |
3 @set mstest_file=Results.trx | |
4 @set test_assembly=..\..\out\NativeClientVSAddIn\Debug\UnitTests.dll | |
5 | |
6 :: Set up the Visual Studio environment | |
7 @call "%VS100COMNTOOLS%vsvars32.bat" | |
8 | |
9 :: Make the output directory and clean up existing mstest result file | |
10 @mkdir %out_directory% | |
11 @IF EXIST %out_directory%\%mstest_file% del %out_directory%\%mstest_file% | |
binji
2012/07/17 00:05:58
nit: does if exist have to be caps? Nothing else i
tysand
2012/07/17 01:18:18
Done.
| |
12 | |
13 :: Run MSTest | |
14 @mstest /testcontainer:%test_assembly% /testsettings:Local.testsettings /results file:%out_directory%\%mstest_file% | |
15 | |
16 :: Parse the result with python script | |
17 @python check_test_results.py %out_directory%\%mstest_file% | |
binji
2012/07/17 00:05:58
don't you need to set the errorlevel for this batc
tysand
2012/07/17 01:18:18
Done.
| |
OLD | NEW |