forked from NEventStore/NEventStore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acceptance-persistence.cmd
41 lines (32 loc) · 1.26 KB
/
acceptance-persistence.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@ECHO OFF
SETLOCAL
ECHO === Building ===
"C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/msbuild.exe" /nologo /verbosity:quiet src/EventStore.sln /p:Configuration=Debug
ECHO === In Memory ===
CALL :run_test InMemoryPersistence
ECHO === RDBMS ===
CALL :run_test MsSqlPersistence localhost 0 EventStore2 "" ""
CALL :run_test SqlitePersistence localhost 0 EventStore2 "" ""
CALL :run_test SqlCePersistence localhost 0 EventStore2 "" ""
CALL :run_test AccessPersistence localhost 0 EventStore2 "" ""
CALL :run_test MySqlPersistence localhost 0 EventStore2 root ""
CALL :run_test PostgreSqlPersistence localhost 0 EventStore2 postgres ""
CALL :run_test FirebirdPersistence localhost 0 /var/lib/firebird/data/EventStore2.fb SYSDBA masterkey
ECHO === Document DBs ===
CALL :run_test MongoPersistence localhost 0 EventStore2 "" ""
CALL :run_test RavenPersistence localhost 0 EventStore2 "" ""
ENDLOCAL
GOTO :eof
:run_test <persistence> <host> <port> <database> <user> <password>
SETLOCAL
SET persistence=%~1
SET host=%~2
SET port=%~3
SET database=%~4
SET user=%~5
SET password=%~6
ECHO ===============
ECHO TESTING: %~1
"bin/machine.specifications-bin/.NET 4.0/mspec.exe" src/tests/EventStore.Persistence.AcceptanceTests/bin/Debug/EventStore.Persistence.AcceptanceTests.dll
ECHO.
ENDLOCAL