-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy pathtest-output.bat
38 lines (33 loc) · 1.06 KB
/
test-output.bat
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
set LOG=%~dp0test-output.log
echo log file = %LOG%
del %LOG%
cd mysql-output
echo "mysql-output/test.bat"
call test.bat >> %LOG%
echo "mysql-output/test_temp_database.bat"
call test_temp_database.bat >> %LOG%
echo "mysql-output/test_temp_database-replace.bat"
call test_temp_database_replace.bat >> %LOG%
cd ..
cd postgresql-output
echo "postgresql-output/test.bat"
call test.bat >> %LOG%
echo "postgresql-output/test-temp-schema.bat"
call test-temp-schema.bat >> %LOG%
echo "postgresql-output/test-temp-schema-replace.bat"
call test-temp-schema-replace.bat >> %LOG%
cd ..
cd sqlserver-output
echo "sqlserver-output/test.bat"
call test.bat >> %LOG%
echo "sqlserver-output/test-jtds.bat"
call test-jtds.bat >> %LOG%
echo "sqlserver-output/test-native.bat"
call test-native.bat >> %LOG%
echo "sqlserver-output/test-temp-schema.bat"
call test-temp-schema.bat >> %LOG%
echo "sqlserver-output/test-replace-temp-schema.bat"
call test-replace-temp-schema.bat >> %LOG%
cd ..
grep "FAILED" %LOG%
IF "%ERRORLEVEL%" == "0" (ECHO "FAILED!") ELSE (ECHO "OK!")