Bug #63187 [Opn->Fbk]: make test does not save test results
| From: | cmb@php.net | Date: | Tue, 09 Jun 2015 19:50:18 +0000 |
| Subject: | Bug #63187 [Opn->Fbk]: make test does not save test results | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-193263@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63187&edit=1
ID: 63187
Updated by: cmb@php.net
Reported by: mamfelt at gmail dot com
Summary: make test does not save test results
-Status: Open
+Status: Feedback
Type: Bug
Package: Testing related
Operating System: AIX 6.1
PHP Version: 5.3.17
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
| Seems to be fixed/not occurring in 5.3.18RC1 - make test
| submitted saved successfully.
Any news on that? Can this ticket be closed?
Previous Comments:
------------------------------------------------------------------------
[2012-10-05 11:49:20] mamfelt at gmail dot com
Seems to be fixed/not occurring in 5.3.18RC1 - make test submitted saved successfully.
make test
....
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: s
Please send /data/prj/php/php-5.3.18RC1/php_test_results_20121005_1110.txt to
qa-reports@lists.php.net manually, thank you.
------------------------------------------------------------------------
[2012-09-29 18:56:26] mamfelt at gmail dot com
Description:
------------
make test processes normally - but starts with an error message - that may be the reason that the
test results cannot be saved at the end (dor later mailing to QA).
===
root@x104:[/data/prj/php/php-5.3.17]cc -qversion=verbose
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0009
Driver Version: 11.01(C/C++) Level: 111128
C Front End Version: 11.01(C/C++) Level: 111128
High-Level Optimizer Version: 11.01(C/C++) and 13.01(Fortran) Level: 111222
Low-Level Optimizer Version: 11.01(C/C++) and 13.01(Fortran) Level: 111128
root@x104:[/data/prj/php/php-5.3.17]oslevel -s
6100-06-06-1140
root@x104:[/data/prj/php/php-5.3.17]make -version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for rs6000-ibm-aix
root@x104:[/data/prj/php/php-5.3.17]lslpp -w /usr/bin/ksh
File Fileset Type
----------------------------------------------------------------------------
/usr/bin/ksh bos.rte.shell File
root@x104:[/data/prj/php/php-5.3.17]lslpp -L bos.rte.shell
Fileset Level State Type Description (Uninstaller)
----------------------------------------------------------------------------
bos.rte.shell 6.1.6.16 C F Shells (bsh, ksh, csh)
Test script:
---------------
configure
make
make test
look for:
/bin/sh[13]: 0403-057 Syntax error at line 20 : `(' is not expected.
in output below.
====
I answer 's' for save at the end, but no file is saved (that I can find).
I editted Makefile, so that the "test" command is echoed and get this... (hoping it is
useful to someone!)
Expected result:
----------------
Normal end report of make test that can be saved and mailed
Actual result:
--------------
Build complete.
Don't forget to run 'make test'.
if test ! -z "/data/prj/php/php-5.3.17/sapi/cli/php" && test -x
"/data/prj/php/php-5.3.17/sapi/cli/php"; then \
INI_FILE=
/data/prj/php/php-5.3.17/sapi/cli/php -d
'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null;
\
if test "$INI_FILE"; then \
grep -E -h -v
'^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\
]*=' "$INI_FILE" > /data/prj/php/php-5.3.17/tmp-php.ini; \
else \
echo > /data/prj/php/php-5.3.17/tmp-php.ini; \
fi; \
INI_SCANNED_PATH=/data/prj/php/php-5.3.17/sapi/cli/php -d
'display_errors=stderr' -r '$a = explode(",\n",
trim(php_ini_scanned_files())); echo $a[0];' 2> /dev/null; \
if test "$INI_SCANNED_PATH"; then \
INI_SCANNED_PATH=/data/prj/php/php-5.3.17/build/shtool path -d
$INI_SCANNED_PATH; \
grep -E -h -v
'^(define_syslog_variables|register_(globals|long_arrays)?|safe_mode|magic_quotes_(gpc|runtime|sybase)?|(zend_)?extension(_debug)?(_ts)?)[\t\
]*=' "$INI_SCANNED_PATH"/*.ini >> /data/prj/php/php-5.3.17/tmp-php.ini; \
fi; \
TEST_PHP_EXECUTABLE=/data/prj/php/php-5.3.17/sapi/cli/php \
TEST_PHP_SRCDIR=/data/prj/php/php-5.3.17 \
CC="xlc_r" \
/data/prj/php/php-5.3.17/sapi/cli/php -n -c
/data/prj/php/php-5.3.17/tmp-php.ini -d 'open_basedir=' -d 'output_buffering=0'
-d 'memory_limit=-1' /data/prj/php/php-5.3.17/run-tests.php -n -c
/data/prj/php/php-5.3.17/tmp-php.ini -d extension_dir=/d
ata/prj/php/php-5.3.17/modules/ ` if test "x/data/prj/php/php-5.3.17/modules/bcmath.so
/data/prj/php/php-5.3.17/modules/curl.so /data/prj/php/php-5.3.17/modules/dba.so
/data/prj/php/php-5.3.17/modules/ftp.so /data/prj/php/php-5.3.17/modules/zip.so" !=
"x"; then for i in
/data/prj/php/php-5.3.17/modules/bcmath.so /data/prj/php/php-5.3.17/modules/curl.so
/data/prj/php/php-5.3.17/modules/dba.so /data/prj/php/php-5.3.17/modules/ftp.so
/data/prj/php/php-5.3.17/modules/zip.so""; do . $i; /data/prj/php/php-5.3.17/build/shtool
echo -n -- " -d
extension=$dlname"; done; fi; if test "x" != "x"; then for i in
""; do . $i; /data/prj/php/php-5.3.17/build/shtool echo -n -- " -d
zend_extension=/data/prj/php/php-5.3.17/modules/$dlname"; done; fi` ; \
rm /data/prj/php/php-5.3.17/tmp-php.ini; \
else \
echo "ERROR: Cannot run tests without CLI sapi."; \
fi
/bin/sh[13]: 0403-057 Syntax error at line 20 : `(' is not expected.
=====================================================================
PHP : /data/prj/php/php-5.3.17/sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 5.3.17
ZEND_VERSION: 2.3.0
PHP_OS : AIX - AIX x104 1 6 00C39B8D4C00
INI actual : /data/prj/php/php-5.3.17/tmp-php.ini
More .INIs :
CWD : /data/prj/php/php-5.3.17
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2012-09-28 19:04:24
=====================================================================
TEST 1/9306 [tests/run-test/test001.phpt]^MPASS EXPECT [tests/run-test/test001.phpt]
TEST 2/9306 [tests/run-test/test002.phpt]^MPASS EXPECTF [tests/run-test/test002.phpt]
TEST 3/9306 [tests/run-test/test003.phpt]^MPASS EXPECTREGEX [tests/run-test/test003.phpt]
And the tests complete, summary is printed to screen and asked
to send, not send, or save.
ls -ltr | tail
-rwxr-xr-x 1 root system 112877 Sep 28 15:57 config.status
-rw-r--r-- 1 root system 52519 Sep 28 15:57 config.log
drwxr-x--- 3 michael staff 4096 Sep 28 19:09 TSRM
drwxr-x--- 5 michael staff 8192 Sep 28 19:15 Zend
-rw-r--r-- 1 root system 1199 Sep 28 19:16 libphp5.la
drwxr-xr-x 2 root system 256 Sep 28 19:16 libs
drwxr-xr-x 2 root system 256 Sep 28 19:23 modules
drwxr-x--- 4 michael staff 8192 Sep 28 19:23 main
-rw-r--r-- 1 root system 127481 Sep 28 19:23 php.sym
-rw-r--r-- 1 root system 0 Sep 28 20:35 someFile
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63187&edit=1