phpunit fix

This commit is contained in:
crazywhalecc
2025-10-20 13:48:52 +08:00
parent f8801e224f
commit 487980c9a8
2 changed files with 3 additions and 1 deletions

View File

@@ -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']);