mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 12:24:53 +08:00
phpunit fix
This commit is contained in:
parent
f8801e224f
commit
487980c9a8
@ -50,7 +50,6 @@ class ConfigValidatorTest extends TestCase
|
||||
'filename' => 'test.tar.gz',
|
||||
'path' => 'test/path',
|
||||
'provide-pre-built' => true,
|
||||
'prefer-stable' => false,
|
||||
'license' => [
|
||||
'type' => 'file',
|
||||
'path' => 'LICENSE',
|
||||
|
||||
@ -44,6 +44,9 @@ class SPCConfigUtilTest extends TestCase
|
||||
|
||||
public function testConfig(): void
|
||||
{
|
||||
if (PHP_OS_FAMILY !== 'Linux') {
|
||||
$this->markTestSkipped('SPCConfigUtil tests are only applicable on Linux.');
|
||||
}
|
||||
// normal
|
||||
$result = (new SPCConfigUtil())->config(['bcmath']);
|
||||
$this->assertStringContainsString(BUILD_ROOT_PATH . '/include', $result['cflags']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user