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

Unified Diff: visual_studio/NativeClientVSAddIn/test_2012.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, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « visual_studio/NativeClientVSAddIn/test.bat ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: visual_studio/NativeClientVSAddIn/test_2012.bat
diff --git a/visual_studio/NativeClientVSAddIn/test.bat b/visual_studio/NativeClientVSAddIn/test_2012.bat
old mode 100755
new mode 100644
similarity index 74%
copy from visual_studio/NativeClientVSAddIn/test.bat
copy to visual_studio/NativeClientVSAddIn/test_2012.bat
index a6475b23fc5bf7e07714b63483414a81d78f4cb9..5a9ac231345aaa52eae976a0a653a12b351fc636
--- a/visual_studio/NativeClientVSAddIn/test.bat
+++ b/visual_studio/NativeClientVSAddIn/test_2012.bat
@@ -1,12 +1,13 @@
@echo off
+setlocal
:: Locations
set out_directory=..\..\out\vs_addin\Test
set mstest_file=Results.trx
-set test_assembly=..\..\out\vs_addin\Debug\UnitTests.dll
+set test_assembly=..\..\out\vs_addin\2012\Debug\UnitTests.dll
:: Set up the Visual Studio environment
-call "%VS100COMNTOOLS%vsvars32.bat"
+call "%VS110COMNTOOLS%vsvars32.bat"
:: Make the output directory and clean up existing mstest result file
mkdir %out_directory%
@@ -17,4 +18,8 @@ mstest /testcontainer:%test_assembly% /testsettings:Local.testsettings /resultsf
:: Parse the result with python script, return python's exit status
python check_test_results.py %out_directory%\%mstest_file%
-exit /B %ERRORLEVEL%
+
+endlocal & set BUILD_ERRORLEVEL=%ERRORLEVEL%
+
+:endbuild
+exit /B %BUILD_ERRORLEVEL%
« no previous file with comments | « visual_studio/NativeClientVSAddIn/test.bat ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698