Adding before-test.cmd to appveyor configuration

This commit is contained in:
Michael Tryby
2018-04-04 14:58:18 -04:00
parent 6308ae708d
commit c99e5d1f66

View File

@@ -16,7 +16,7 @@ image:
init: init:
- set EPANET_HOME=%APPVEYOR_BUILD_FOLDER% - set EPANET_HOME=%APPVEYOR_BUILD_FOLDER%
- set BUILD_HOME=buildprod - set BUILD_HOME=buildprod
- set TEST_HOME=tests\epanet-nrtestsuite - set TEST_HOME=nrtestsuite
- set NRTEST_SCRIPT=C:\Python27\Scripts - set NRTEST_SCRIPT=C:\Python27\Scripts
- set GENERATOR="Visual Studio 10 2010" - set GENERATOR="Visual Studio 10 2010"
- set BOOST_ROOT="C:\\Libraries\\boost" - set BOOST_ROOT="C:\\Libraries\\boost"
@@ -41,7 +41,7 @@ build_script:
before_test: before_test:
- cd %EPANET_HOME% - cd %EPANET_HOME%
- tools\gen-config.cmd %EPANET_HOME%\%BUILD_HOME%\bin\Release > %TEST_HOME%\apps\epanet-%APPVEYOR_REPO_COMMIT%.json - tools\before_test.cmd %TEST_HOME% %EPANET_HOME%\%BUILD_HOME%\bin\Release %APPVEYOR_REPO_COMMIT%
# run custom test script # run custom test script
test_script: test_script: