[php-src] PR #11481: support running testsuite with negative niceness
| From: | divinity76 | Date: | Mon, 19 Jun 2023 15:58:08 +0000 |
| Subject: | [php-src] PR #11481: support running testsuite with negative niceness | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22761@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11481
Author: divinity76
a bug in the regex would break getNice() if the current niceness was negative, which would make the
whole test fail.
Previously:
this would fail:
time sudo nice --adjustment=-19 ./php run-tests.php -j$(nproc) -x --offline
ext/standard/tests/general_functions/proc_nice_basic.phpt --color --show-all
and this would work:
time sudo ./php run-tests.php -j$(nproc) -x --offline
ext/standard/tests/general_functions/proc_nice_basic.phpt --color --show-all