Re: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Stanislav Malyshev
Hi! > If behavior wasn't changed unless ENV var or CLI option was specified, > then I think it can go into 7.1  (run-test.php isn't production code > part of a build, etc...). The point is to change behavior - namely, make run-tests return proper exit code even if no variables are set. True, run-

Re: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Matt Ficken
-Original Message- > > From: Stanislav Malyshev [mailto:smalys...@gmail.com] > > Sent: Wednesday, February 28, 2018 9:26 PM > > To: PHP Internals > > Subject: [PHP-DEV] run-tests.php exit code > > > > Hi! > > > > When running tests with run-tes

RE: [PHP-DEV] run-tests.php exit code

2018-03-01 Thread Anatol Belski
Hi Stas, > -Original Message- > From: Stanislav Malyshev [mailto:smalys...@gmail.com] > Sent: Wednesday, February 28, 2018 9:26 PM > To: PHP Internals > Subject: [PHP-DEV] run-tests.php exit code > > Hi! > > When running tests with run-tests.php, if the

[PHP-DEV] run-tests.php exit code

2018-02-28 Thread Stanislav Malyshev
Hi! When running tests with run-tests.php, if the tests fail, the script will exit with non-zero exit code, but only if REPORT_EXIT_STATUS is set. This was the case since 2002 when this capability has been introduced. I think it would be nice if we reversed the default and made the script use exi