unitest.bat 177 B

12345678
  1. cd %1
  2. start /WAIT /B C:\Keil_v5\UV4\UV4.exe -cr device-dashboard.uvprojx -j0 -o output.txt -t %2
  3. if %ERRORLEVEL% NEQ 0 (
  4. type output.txt
  5. exit /B %ERRORLEVEL%
  6. )
  7. del output.txt