Skip to content

Commit 6df41d8

Browse files
committed
Build/Test Tools: Configure logging for PHPUnit and multisite.
This ensures a log file is created after running the PHPUnit test suite as a multisite. In practice, this file is used by the Host Test Runner to collect a list of failing tests to submit to wordpress.org. See WordPress/phpunit-test-runner#267. Props rishabhwp, nimeshatxecurify. Fixes #63884. git-svn-id: https://develop.svn.wordpress.org/trunk@60781 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b96f25f commit 6df41d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/phpunit/multisite.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@
7373
</exclude>
7474
</whitelist>
7575
</filter>
76+
<logging>
77+
<log type="junit" target="tests/phpunit/build/logs/junit.xml" />
78+
</logging>
7679
</phpunit>

0 commit comments

Comments
 (0)