aboutsummaryrefslogtreecommitdiff
path: root/evolution/tester.bat
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-13 21:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-23 21:20:44 +0300
commitfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch)
tree6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /evolution/tester.bat
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'evolution/tester.bat')
-rw-r--r--evolution/tester.bat87
1 files changed, 0 insertions, 87 deletions
diff --git a/evolution/tester.bat b/evolution/tester.bat
deleted file mode 100644
index 3b7401f..0000000
--- a/evolution/tester.bat
+++ /dev/null
@@ -1,87 +0,0 @@
-@echo off
-rem file : evolution/tester.bat
-rem license : GNU GPL v2; see accompanying LICENSE file
-
-rem
-rem Run an evolution test. The test directory is the current directory.
-rem
-rem %1 database
-rem %2 configuration, for example, Debug or Release
-rem %3 platform, for example Win32 or x64
-rem topdir variable containing the path to top project directory
-rem
-
-setlocal
-
-set "PATH=%topdir%\libcommon\bin64;%topdir%\libcommon\bin;%PATH%"
-
-if "_%3_" == "_Win32_" (
- set "dir=%2"
-) else (
- set "dir=%3\%2"
-)
-
-if exist test*.sql (
- rem Standalone schema.
- rem
-
- rem Drop everything.
- rem
- call %topdir%\%1-driver.bat test3.sql
- if errorlevel 1 goto error
-
- call %topdir%\%1-driver.bat test2.sql
- if errorlevel 1 goto error
-
- call %topdir%\%1-driver.bat test1.sql
- if errorlevel 1 goto error
-
- rem Base schema.
- rem
- call %topdir%\%1-driver.bat test3-002-pre.sql
- if errorlevel 1 goto error
-
- call %topdir%\%1-driver.bat test3-002-post.sql
- if errorlevel 1 goto error
-
- %dir%\driver.exe --options-file %topdir%\%1.options 1
- if errorlevel 1 goto error
-
- rem Migration.
- rem
- call %topdir%\%1-driver.bat test3-003-pre.sql
- if errorlevel 1 goto error
-
- %dir%\driver.exe --options-file %topdir%\%1.options 2
- if errorlevel 1 goto error
-
- call %topdir%\%1-driver.bat test3-003-post.sql
- if errorlevel 1 goto error
-
- rem Current schema.
- rem
- %dir%\driver.exe --options-file %topdir%\%1.options 3
- if errorlevel 1 goto error
-
-) else (
-
- rem Embedded schema. Just run the driver.
- rem
- %dir%\driver.exe --options-file %topdir%\%1.options 1
- if errorlevel 1 goto error
-
- %dir%\driver.exe --options-file %topdir%\%1.options 2
- if errorlevel 1 goto error
-
- %dir%\driver.exe --options-file %topdir%\%1.options 3
- if errorlevel 1 goto error
-)
-
-goto end
-
-:error
-endlocal
-exit /b 1
-
-:end
-endlocal