1
0
Fork 0

Fix some more 32bit tests

pull/12371/head
Jordi Boggiano 2025-04-04 16:25:34 +02:00
parent b26a4854df
commit 0f99f6f287
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -36,6 +36,9 @@ class XzDownloaderTest extends TestCase
if (Platform::isWindows()) {
$this->markTestSkipped('Skip test on Windows');
}
if (PHP_INT_SIZE === 4) {
$this->markTestSkipped('Skip test on 32bit');
}
$this->testDir = self::getUniqueTmpDirectory();
}

View File

@ -509,7 +509,7 @@ class InstallerTest extends TestCase
try {
$testData = self::readTestFile($file, $fixturesDir);
// skip 64bit related tests on 32bit
if (str_contains($testData['EXPECT'], 'php-64bit') && PHP_INT_SIZE === 4) {
if (str_contains($testData['EXPECT-OUTPUT'], 'php-64bit') && PHP_INT_SIZE === 4) {
continue;
}