Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: visual_studio/NativeClientVSAddIn/test.bat

Issue 14122017: [VS Addin] Add visual studio 2012 support (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 @echo off 1 @echo off
2 2
3 :: Locations 3 :: Locations
4 set out_directory=..\..\out\vs_addin\Test 4 set out_directory=..\..\out\vs_addin\Test
5 set mstest_file=Results.trx 5 set mstest_file=Results.trx
6 set test_assembly=..\..\out\vs_addin\Debug\UnitTests.dll 6 set test_assembly=..\..\out\vs_addin\2010\Debug\UnitTests.dll
7 7
8 :: Set up the Visual Studio environment 8 :: Set up the Visual Studio environment
9 call "%VS100COMNTOOLS%vsvars32.bat" 9 call "%VS100COMNTOOLS%vsvars32.bat"
10 10
11 :: Make the output directory and clean up existing mstest result file 11 :: Make the output directory and clean up existing mstest result file
12 mkdir %out_directory% 12 mkdir %out_directory%
13 if exist %out_directory%\%mstest_file% del %out_directory%\%mstest_file% 13 if exist %out_directory%\%mstest_file% del %out_directory%\%mstest_file%
14 14
15 :: Run MSTest 15 :: Run MSTest
16 mstest /testcontainer:%test_assembly% /testsettings:Local.testsettings /resultsf ile:%out_directory%\%mstest_file% 16 mstest /testcontainer:%test_assembly% /testsettings:Local.testsettings /resultsf ile:%out_directory%\%mstest_file%
17 17
18 :: Parse the result with python script, return python's exit status 18 :: Parse the result with python script, return python's exit status
19 python check_test_results.py %out_directory%\%mstest_file% 19 python check_test_results.py %out_directory%\%mstest_file%
20 exit /B %ERRORLEVEL% 20 exit /B %ERRORLEVEL%
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698