| Newsgroups |
php.bugs,php.qa |
| Message-ID |
<[email protected]> |
From: dragoonis
Operating system: All
PHP version: master-Git-2020-05-27 (Git)
Package: Testing related
Bug Type: Bug
Bug description:run-tests doesn't pass all info down to workers
Description:
------------
As per chats on Room 11. run-tests with parallel enabled, it doesn't
pass down all info to the workers.
One example (of many?) is a fatal error when using --html option with
parallel. The fopen handle() doesn't get passed down to the worker, as
the "resource" in $GLOBAL memory doesn't get sent over.
The bug fix is available on github, I'll reference the bug number there.
Test script:
---------------
make TEST_PHP_ARGS="--html report.html -j2" test
Expected result:
----------------
Tests run
Actual result:
--------------
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be
of type resource, int given in
/home/dragoonis/code/php-src/run-tests.php:3332
--
Edit bug report at https://bugs.php.net/bug.php?id=79639&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79639&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79639&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79639&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79639&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79639&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79639&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79639&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79639&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79639&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79639&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79639&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79639&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79639&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79639&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79639&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79639&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79639&r=mysqlcfg