anchor.diff:  		msbuild "solution-%configuration%.sln" /t:Clean /p:Configuration=%%s /p:Platform="%platform%"
   		:: Build the visual solution
   		msbuild "solution-%configuration%.sln" /t:Build /p:Configuration=%%s /p:Platform="%platform%"
  -		set errorstatus=%ERRORLEVEL%
  -		if not %errorstatus%==0 goto :EOF
  +		if errorlevel 1 (
  +			set errorstatus=1
  +			goto :EOF
  +		)
   	)
   	rd /s /q x64
   	rd /s /q bin
  
positive.code: 
  setlocal EnableDelayedExpansion
  @echo off
  echo "STARTING TESTS"
  :: Initialize the returned value to 0 (all succesfully)
  set errorstatus=0
  
negative.code: ::Generate Info
  copy ..\..\..\lib\fastrtpsgen.jar .
  java -jar fastrtpsgen.jar -example %configuration% -replace %IDLFILES%
  if errorlevel 1 (
  	set errorstatus=1
  	goto :EOF
  )
  if exist *.sln ( 
  	echo "Solution exists, compiling"
  	for %%s in ("%configurations:,=" "%") do (
  