File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -226,39 +226,14 @@ make_test() {
226
226
NO_INTERACTION=1 \
227
227
REPORT_EXIT_STATUS=1 \
228
228
TEST_PHP_EXECUTABLE=$( which php) \
229
- php run-tests.php -d extension=modules/zmq.so -d ${pthreads_flag} -n tests/* .phpt
229
+ php run-tests.php --show-diff - d extension=modules/zmq.so -d ${pthreads_flag} -n tests/* .phpt
230
230
231
231
local run_tests_exit_code=$?
232
- print_failed_tests
233
-
234
232
popd # pushd $build_dir
235
233
236
234
return $run_tests_exit_code
237
235
}
238
236
239
- print_failed_tests () {
240
- local build_dir=" ${BUILD_DIR} /php-zmq-build"
241
-
242
- for test in $( ls " ${build_dir} /tests/" * .phpt 2> /dev/null) ; do
243
-
244
- local name=" ${test% .* } "
245
-
246
- if test -f " ${name} .out"
247
- then
248
- echo " -- START ${name} .out"
249
- cat " ${name} .out"
250
- echo " "
251
- echo " -- END ${name} .out"
252
- echo " "
253
- echo " --- START ${name} .diff"
254
- cat " ${name} .diff"
255
- echo " ---"
256
- echo " -- END ${name} .diff"
257
- echo " "
258
- fi
259
- done
260
- }
261
-
262
237
# First, ensure that all of the tests are included in the PEAR package
263
238
# definition file. If they aren't, then abort immediately, as the result of the
264
239
# build is inaccurate.
You can’t perform that action at this time.
0 commit comments