Skip to content

Commit

Permalink
Add tests for issue expath#46 / pr expath#48 for Windows (expath#54)
Browse files Browse the repository at this point in the history
* Add test case for Windows batch script for issue expath#46 / pr expath#48
* Align batch script with shell script to mimic setup/teardown functions in batch script (82a3d49)
- Use the same output dir and file as the shell script for .gitignore to fully take effect on windows
  • Loading branch information
AirQuick authored and Sandro Cirulli committed Jan 14, 2017
1 parent 82a3d49 commit 441eae6
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 73 deletions.
10 changes: 1 addition & 9 deletions test/run-xspec-tests.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ rem
rem DESCRIPTION: This script is a Windows version of run-xspec-tests.sh
rem See run-xspec-tests.sh for details
rem
rem OUTPUT: XSpec outputs are created in .\xspec_win\
rem A log file is created at .\result_win.log
rem
rem DEPENDENCIES: This script does *not* need to be run from the current directory (i.e. the test directory)
rem
rem ============================================================================
Expand All @@ -28,15 +25,10 @@ rem Go to the directory where this script resides
rem
pushd "%~dp0"

rem
rem XSpec output directory
rem
set TEST_DIR=xspec_win

rem
rem Result log
rem
set RESULT_FILE=result_win.log
set RESULT_FILE=result.log

rem
rem Run tests
Expand Down

0 comments on commit 441eae6

Please sign in to comment.