@ -366,6 +366,14 @@ task:
# build
# build
MSBFLAGS : -m -verbosity:minimal "-consoleLoggerParameters:Summary;ForceNoAlign" /p:TrackFileAccess=false -nologo
MSBFLAGS : -m -verbosity:minimal "-consoleLoggerParameters:Summary;ForceNoAlign" /p:TrackFileAccess=false -nologo
# If tests hang forever, cirrus eventually times out. In that case log
# output etc is not uploaded, making the problem hard to debug. Of course
# tests internally should have shorter timeouts, but that's proven to not
# be sufficient. 15min currently is fast enough to finish individual test
# "suites".
T_C : "\"C:/Program Files/Git/usr/bin/timeout.exe\" -v -k60s 15m"
only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
only_if : $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
windows_container:
windows_container:
@ -391,42 +399,43 @@ task:
# Installation on windows currently only completely works from src/tools/msvc
# Installation on windows currently only completely works from src/tools/msvc
- cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install
- cd src/tools/msvc && perl install.pl %CIRRUS_WORKING_DIR%/tmp_install
test_regress_parallel_script:
test_regress_parallel_script : |
- perl src/tools/msvc/vcregress.pl check parallel
%T_C% perl src/tools/msvc/vcregress.pl check parallel
startcreate_script:
startcreate_script : |
# paths to binaries need backslashes
rem paths to binaries need backslashes
- tmp_install\bin\pg_ctl.exe initdb -D tmp_check/db -l tmp_check/initdb.log --options=--no-sync
tmp_install\bin\pg_ctl.exe initdb -D tmp_check/db -l tmp_check/initdb.log --options=--no-sync
- echo include '%TEMP_CONFIG%' >> tmp_check/db/postgresql.conf
echo include '%TEMP_CONFIG%' >> tmp_check/db/postgresql.conf
- tmp_install\bin\pg_ctl.exe start -D tmp_check/db -l tmp_check/postmaster.log
tmp_install\bin\pg_ctl.exe start -D tmp_check/db -l tmp_check/postmaster.log
test_pl_script:
- perl src/tools/msvc/vcregress.pl plcheck
test_pl_script : |
test_isolation_script:
%T_C% perl src/tools/msvc/vcregress.pl plcheck
- perl src/tools/msvc/vcregress.pl isolationcheck
test_isolation_script : |
test_modules_script:
%T_C% perl src/tools/msvc/vcregress.pl isolationcheck
- perl src/tools/msvc/vcregress.pl modulescheck
test_modules_script : |
test_contrib_script:
%T_C% perl src/tools/msvc/vcregress.pl modulescheck
- perl src/tools/msvc/vcregress.pl contribcheck
test_contrib_script : |
stop_script:
%T_C% perl src/tools/msvc/vcregress.pl contribcheck
- tmp_install\bin\pg_ctl.exe stop -D tmp_check/db -l tmp_check/postmaster.log
stop_script : |
test_ssl_script:
tmp_install\bin\pg_ctl.exe stop -D tmp_check/db -l tmp_check/postmaster.log
- set with_ssl=openssl
test_ssl_script : |
- perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/
set with_ssl=openssl
test_subscription_script:
%T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/ssl/
- perl src/tools/msvc/vcregress.pl taptest ./src/test/subscription/
test_subscription_script : |
test_authentication_script:
%T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/subscription/
- perl src/tools/msvc/vcregress.pl taptest ./src/test/authentication/
test_authentication_script : |
test_recovery_script:
%T_C% perl src/tools/msvc/vcregress.pl taptest ./src/test/authentication/
- perl src/tools/msvc/vcregress.pl recoverycheck
test_recovery_script : |
test_bin_script:
%T_C% perl src/tools/msvc/vcregress.pl recoverycheck
- perl src/tools/msvc/vcregress.pl bincheck
test_bin_script : |
test_pg_upgrade_script:
%T_C% perl src/tools/msvc/vcregress.pl bincheck
- perl src/tools/msvc/vcregress.pl upgradecheck
test_pg_upgrade_script : |
test_ecpg_script:
%T_C% perl src/tools/msvc/vcregress.pl upgradecheck
# tries to build additional stuff
test_ecpg_script : |
- vcvarsall x64
rem tries to build additional stuff
# References ecpg_regression.proj in the current dir
vcvarsall x64
- cd src/tools/msvc
rem References ecpg_regression.proj in the current dir
- perl vcregress.pl ecpgcheck
cd src/tools/msvc
%T_C% perl vcregress.pl ecpgcheck
on_failure : *on_failure
on_failure : *on_failure