-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug in icon.cmd when last argument to program matches name of p…
…rogram; refactored smoke tests; added run_smoke_test.cmd
- Loading branch information
Showing
5 changed files
with
215 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@set ERRORLEVEL=&setlocal&echo off | ||
call %~dps0smoke_test.cmd > %~dps0smoke_test.output.actual.txt | ||
if %ERRORLEVEL% neq 0 ( | ||
(echo smoke_test.cmd FAILED with error %ERRORLEVEL%) | ||
endlocal | ||
exit/b %ERRORLEVEL% | ||
) | ||
if %ERRORLEVEL% neq 0 (echo smoke_test.cmd FAILED with error %ERRORLEVEL%)&endlocal&exit/b %ERRORLEVEL% | ||
diff %~dps0smoke_test.output.expected.txt %~dps0smoke_test.output.actual.txt | ||
if %ERRORLEVEL% neq 0 ( | ||
(echo smoke_test.cmd FAILED because results differed from what was expected) | ||
endlocal | ||
exit/b %ERRORLEVEL% | ||
) | ||
echo.Smoke test was SUCCESSFUL. | ||
endlocal&exit /b 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.