@@ -44,30 +44,26 @@ if errorlevel 0 goto test-setup-menu
4444
4545:test-setup-menu
4646echo A. Add a test configuration for SQL Server.
47- echo B. Add a test configuration for Firebird (x86).
48- echo C. Add a test configuration for Firebird (x64). [not recommended]
49- echo D. Add a test configuration for SQLite (x86).
50- echo E. Add a test configuration for SQLite (x64). [not recommended]
51- echo F. Add a test configuration for PostgreSQL.
52- echo G. Add a test configuration for Oracle.
53- echo H. Add a test configuration for SQL Server Compact (x86).
54- echo I. Add a test configuration for SQL Server Compact (x64).
55- echo J. Add a test configuration for MySql.
47+ echo B. Add a test configuration for Firebird.
48+ echo C. Add a test configuration for SQLite.
49+ echo D. Add a test configuration for PostgreSQL.
50+ echo E. Add a test configuration for Oracle.
51+ echo F. Add a test configuration for Oracle with managed driver.
52+ echo G. Add a test configuration for SQL Server Compact.
53+ echo H. Add a test configuration for MySql.
5654echo .
5755echo X. Exit to main menu.
5856echo .
5957
60- %BUILDTOOL% prompt ABCDEFGHIJX
61- if errorlevel 10 goto main-menu
62- if errorlevel 9 goto test-setup-mysql
63- if errorlevel 8 goto test-setup-sqlservercex64
64- if errorlevel 7 goto test-setup-sqlservercex86
65- if errorlevel 6 goto test-setup-oracle
66- if errorlevel 5 goto test-setup-postgresql
67- if errorlevel 4 goto test-setup-sqlitex64
68- if errorlevel 3 goto test-setup-sqlitex86
69- if errorlevel 2 goto test-setup-firebirdx64
70- if errorlevel 1 goto test-setup-firebirdx86
58+ %BUILDTOOL% prompt ABCDEFGHX
59+ if errorlevel 8 goto main-menu
60+ if errorlevel 7 goto test-setup-mysql
61+ if errorlevel 6 goto test-setup-sqlserverce
62+ if errorlevel 5 goto test-setup-oracle-managed
63+ if errorlevel 4 goto test-setup-oracle
64+ if errorlevel 3 goto test-setup-postgresql
65+ if errorlevel 2 goto test-setup-sqlite
66+ if errorlevel 1 goto test-setup-firebird
7167if errorlevel 0 goto test-setup-sqlserver
7268
7369:test-setup-sqlserver
@@ -77,59 +73,38 @@ set LIB_FILES=
7773set LIB_FILES2 =
7874goto test-setup-generic
7975
80- :test-setup-sqlservercex86
81- set CONFIG_NAME = SqlServerCe32
76+ :test-setup-sqlserverce
77+ set CONFIG_NAME = SqlServerCe
8278set TEST_PLATFORM = AnyCPU
83- set LIB_FILES = lib\teamcity\SqlServerCe\*.dll
84- set LIB_FILES2 = lib\teamcity\SqlServerCe\X86\*.dll
85- goto test-setup-generic
86-
87- :test-setup-sqlservercex64
88- set CONFIG_NAME = SqlServerCe64
89- set TEST_PLATFORM = AnyCPU
90- set LIB_FILES = lib\teamcity\sqlServerCe\*.dll
91- set LIB_FILES2 = lib\teamcity\sqlServerCe\AMD64\*.dll
92- goto test-setup-generic
93-
94- :test-setup-firebirdx86
95- set CONFIG_NAME = FireBird
96- set TEST_PLATFORM = x86
97- set LIB_FILES = lib\teamcity\firebird\*.dll
79+ set LIB_FILES =
9880set LIB_FILES2 =
9981goto test-setup-generic
10082
101- :test-setup-firebirdx64
83+ :test-setup-firebird
10284set CONFIG_NAME = FireBird
103- set TEST_PLATFORM = x64
104- set LIB_FILES = lib\teamcity\firebird\*.dll
105- set LIB_FILES2 =
106- goto test-setup-generic
107-
108- :test-setup-sqlitex86
109- set CONFIG_NAME = SQLite
110- set TEST_PLATFORM = x86
111- set LIB_FILES = lib\teamcity\sqlite\x86\*
85+ set TEST_PLATFORM = AnyCPU
86+ set LIB_FILES =
11287set LIB_FILES2 =
11388goto test-setup-generic
11489
115- :test-setup-sqlitex64
90+ :test-setup-sqlite
11691set CONFIG_NAME = SQLite
117- set TEST_PLATFORM = x64
118- set LIB_FILES = lib\teamcity\sqlite\x64\*
92+ set TEST_PLATFORM = AnyCPU
93+ set LIB_FILES =
11994set LIB_FILES2 =
12095goto test-setup-generic
12196
12297:test-setup-postgresql
12398set CONFIG_NAME = PostgreSQL
12499set TEST_PLATFORM = AnyCPU
125- set LIB_FILES = lib\teamcity\postgresql\*.dll
100+ set LIB_FILES =
126101set LIB_FILES2 =
127102goto test-setup-generic
128103
129104:test-setup-mysql
130105set CONFIG_NAME = MySql
131106set TEST_PLATFORM = AnyCPU
132- set LIB_FILES = lib\teamcity\mysql\*.dll
107+ set LIB_FILES =
133108set LIB_FILES2 =
134109goto test-setup-generic
135110
@@ -140,6 +115,13 @@ set LIB_FILES=lib\teamcity\oracle\x86\*.dll
140115set LIB_FILES2 =
141116goto test-setup-generic
142117
118+ :test-setup-oracle-managed
119+ set CONFIG_NAME = Oracle-Managed
120+ set TEST_PLATFORM = AnyCPU
121+ set LIB_FILES =
122+ set LIB_FILES2 =
123+ goto test-setup-generic
124+
143125:test-setup-generic
144126set CFGNAME =
145127set /p CFGNAME = Enter a name for your test configuration or press enter to use default name:
0 commit comments