File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -115,21 +115,26 @@ task:
115115 build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS}'
116116 upload_caches : ccache
117117
118- test_world_script : |
118+ # test runningcheck
119+ test_running_script : |
119120 su postgres <<-EOF
121+ set -e
120122 ulimit -c unlimited
121- meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
123+ meson test $MTEST_ARGS --quiet --suite setup
124+ export LD_LIBRARY_PATH="$(pwd)/build/tmp_install/usr/local/lib/:$LD_LIBRARY_PATH"
125+ mkdir build/testrun
126+ build/tmp_install/usr/local/bin/initdb -N build/runningcheck --no-instructions -A trust
127+ echo "include '$(pwd)/src/tools/ci/pg_ci_base.conf'" >> build/runningcheck/postgresql.conf
128+ build/tmp_install/usr/local/bin/pg_ctl -c -o '-c fsync=off' -D build/runningcheck -l build/testrun/runningcheck.log start
129+ meson test $MTEST_ARGS --num-processes ${TEST_JOBS} --setup running
130+ build/tmp_install/usr/local/bin/pg_ctl -D build/runningcheck stop
122131 EOF
123132
124- # test runningcheck
125- test_running_script : |
133+ test_world_script : |
126134 su postgres <<-EOF
135+ set -e
127136 ulimit -c unlimited
128- export LD_LIBRARY_PATH="$(pwd)/tmp_install/usr/local/lib/:$LD_LIBRARY_PATH"
129- tmp_install/usr/local/bin/initdb
130- tmp_install/usr/local/bin/pg_ctl -c -o '-c fsync=off' -D runningcheck -l testrun/runningcheck.log start
131- meson test $MTEST_ARGS --num-processes ${TEST_JOBS} --setup running
132- tmp_install/usr/local/bin/pg_ctl -D runningcheck -l testrun/runningcheck.log stop
137+ meson test $MTEST_ARGS --num-processes ${TEST_JOBS}
133138 EOF
134139
135140 on_failure :
You can’t perform that action at this time.
0 commit comments