OLD | NEW |
(Empty) | |
| 1 @echo off |
| 2 |
| 3 :: Locations |
| 4 set out_directory=..\..\out\NativeClientVSAddIn\Test |
| 5 set mstest_file=Results.trx |
| 6 set test_assembly=..\..\out\NativeClientVSAddIn\Debug\UnitTests.dll |
| 7 |
| 8 :: Set up the Visual Studio environment |
| 9 call "%VS100COMNTOOLS%vsvars32.bat" |
| 10 |
| 11 :: Make the output directory and clean up existing mstest result file |
| 12 mkdir %out_directory% |
| 13 if exist %out_directory%\%mstest_file% del %out_directory%\%mstest_file% |
| 14 |
| 15 :: Run MSTest |
| 16 mstest /testcontainer:%test_assembly% /testsettings:Local.testsettings /resultsf
ile:%out_directory%\%mstest_file% |
| 17 |
| 18 :: Parse the result with python script, return python's exit status |
| 19 python check_test_results.py %out_directory%\%mstest_file% |
| 20 exit /B %ERRORLEVEL% |
OLD | NEW |