File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -115,21 +115,26 @@ task:
115
115
build_script : su postgres -c 'ninja -C build -j${BUILD_JOBS}'
116
116
upload_caches : ccache
117
117
118
- test_world_script : |
118
+ # test runningcheck
119
+ test_running_script : |
119
120
su postgres <<-EOF
121
+ set -e
120
122
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/tmp_check/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
122
131
EOF
123
132
124
- # test runningcheck
125
- test_running_script : |
133
+ test_world_script : |
126
134
su postgres <<-EOF
135
+ set -e
127
136
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}
133
138
EOF
134
139
135
140
on_failure :
You can’t perform that action at this time.
0 commit comments