Skip to content

Demo incorrect phpunit status (PHPUnit6)#34972

Closed
phil-davis wants to merge 2 commits intomasterfrom
demo-incorrect-phpunit-status-a
Closed

Demo incorrect phpunit status (PHPUnit6)#34972
phil-davis wants to merge 2 commits intomasterfrom
demo-incorrect-phpunit-status-a

Conversation

@phil-davis
Copy link
Copy Markdown
Contributor

Description

See issue for the detailed description of this problem.

Related Issue

Issue #34858

Motivation and Context

CI should reliably report red-fail when a test fails.

How Has This Been Tested?

CI

@phil-davis
Copy link
Copy Markdown
Contributor Author

Example is https://drone.owncloud.com/owncloud/core/16745/55
Running:

PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.2.16-1+ubuntu16.04.1+deb.sury.org+1
Configuration: /drone/src/tests/phpunit-autotest.xml

without code coverage (i.e. not PHP-debug).
And the result is:

FAILURES!
Tests: 7013, Assertions: 38763, Failures: 9, Skipped: 85, Risky: 5.
PHPunit exited with success status 0

It should exit with non-zero status when there are failures.

@phil-davis phil-davis closed this Jul 11, 2019
@phil-davis phil-davis deleted the demo-incorrect-phpunit-status-a branch July 11, 2019 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant