Bug #67177 [Opn->Fbk]: run-tests.php doesn't work well with LEAK

From: Date: Fri, 02 May 2014 07:28:19 +0000
Subject: Bug #67177 [Opn->Fbk]: run-tests.php doesn't work well with LEAK
References: 1  Groups: php.bugs php.qa 
Request: Send a blank email to php-bugs+get-185572@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67177&edit=1 ID: 67177 Updated by: tyrael@php.net Reported by: nikic@php.net Summary: run-tests.php doesn't work well with LEAK -Status: Open +Status: Feedback Type: Bug Package: Testing related PHP Version: 5.6.0beta2 -Assigned To: +Assigned To: tyrael Block user comment: N Private report: N New Comment: FAILED tests should fail the execution when REPORT_EXIT_STATUS=1 is set, could you show an exemple where that doesn't work? when you call run-tests.php with -m, it will mark the leaking tests as LEAKED, which isn't FAILED, so that won't result in a non-zero exit status. --show-mem sounds reasonable, and --show-all should also show the .mem if there is one. Previous Comments: ------------------------------------------------------------------------ [2014-05-02 07:00:39] nikic@php.net Description: ------------ * REPORT_EXIT_STATUS=1 results in exit=0 even though there are FAILED&LEAKED tests. * There is no --show-mem or --show-leak option. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67177&edit=1

« previous php.bugs (#185572) next »