Skip to content

Commit

Permalink
Installs and tests in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Gomez Casanova committed Oct 6, 2014
1 parent 248bb90 commit fc5cd8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/test/scripts/init-dev.bat
Expand Up @@ -27,7 +27,9 @@
:: This variable indicates the location of the sources.
if "%DB2UNIT_PATH%" EQU "" (
set DB2UNIT_PATH=%~dp0..\..\..

set SET=yes
)
if "%SET%" EQU "yes" (
set DB2UNIT_SRC_MAIN_CODE_PATH=%DB2UNIT_PATH%\src\main\sql-pl
set DB2UNIT_SRC_MAIN_SCRIPT_PATH=%DB2UNIT_PATH%\src\main\scripts
set DB2UNIT_SRC_TEST_CODE_PATH=%DB2UNIT_PATH%\src\test\sql-pl
Expand Down
2 changes: 1 addition & 1 deletion src/test/scripts/test.bat
Expand Up @@ -78,7 +78,7 @@ goto:eof
db2 "DROP SCHEMA ERRORSCHEMA RESTRICT" > NUL

:: Installs the tests.
db2 -td@ -f %DB2UNIT_SRC_TEST_CODE_PATH%/Tests_%SCHEMA%.sql
db2 -td@ -f %DB2UNIT_SRC_TEST_CODE_PATH%\Tests_%SCHEMA%.sql
)

:: Execute the tests.
Expand Down

0 comments on commit fc5cd8a

Please sign in to comment.