Fix some more 32bit tests
parent
b26a4854df
commit
0f99f6f287
|
@ -36,6 +36,9 @@ class XzDownloaderTest extends TestCase
|
||||||
if (Platform::isWindows()) {
|
if (Platform::isWindows()) {
|
||||||
$this->markTestSkipped('Skip test on Windows');
|
$this->markTestSkipped('Skip test on Windows');
|
||||||
}
|
}
|
||||||
|
if (PHP_INT_SIZE === 4) {
|
||||||
|
$this->markTestSkipped('Skip test on 32bit');
|
||||||
|
}
|
||||||
$this->testDir = self::getUniqueTmpDirectory();
|
$this->testDir = self::getUniqueTmpDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -509,7 +509,7 @@ class InstallerTest extends TestCase
|
||||||
try {
|
try {
|
||||||
$testData = self::readTestFile($file, $fixturesDir);
|
$testData = self::readTestFile($file, $fixturesDir);
|
||||||
// skip 64bit related tests on 32bit
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue