From 3010fd8157b439ef0b07f7eff40e5033601ab49e Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 22 Jul 2023 21:59:41 +0200 Subject: tests: Skip ManifoldTextDifferTest on windows Fails with a 1) ManifoldTextDifferTest::testHasFormatExternal ExternalDiffEngine config points to a non-executable Change-Id: Ifb32694f2c1cef32a354e20636463a22b7ab5f6f --- tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php') diff --git a/tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php b/tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php index dd99d43fc621..bae1290762f0 100644 --- a/tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php +++ b/tests/phpunit/includes/diff/TextDiffer/ManifoldTextDifferTest.php @@ -45,6 +45,9 @@ class ManifoldTextDifferTest extends MediaWikiIntegrationTestCase { } public function testHasFormatExternal() { + if ( wfIsWindows() ) { + $this->markTestSkipped( 'This test only works on non-Windows platforms' ); + } $differ = $this->createDiffer( [ 'ExternalDiffEngine' => __DIR__ . '/externalDiffTest.sh' ] ); @@ -112,6 +115,9 @@ class ManifoldTextDifferTest extends MediaWikiIntegrationTestCase { * @param bool $isWrap */ public function testAddRowWrapper( $format, $isWrap ) { + if ( wfIsWindows() ) { + $this->markTestSkipped( 'This test only works on non-Windows platforms' ); + } $differ = $this->createDiffer( [ 'ExternalDiffEngine' => __DIR__ . '/externalDiffTest.sh' ] ); -- cgit v1.2.3