I really got redundant test error

This commit is contained in:
crazywhalecc 2025-06-12 00:41:33 +08:00
parent 84fb354bc0
commit c0ea47ce75
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -186,11 +186,7 @@ abstract class UnixBuilderBase extends BuilderBase
}
// sanity check for embed
if (($build_target & BUILD_TARGET_EMBED) === BUILD_TARGET_EMBED ||
file_exists(BUILD_BIN_PATH . '/php-config') &&
file_exists(BUILD_BIN_PATH . '/phpize') &&
(file_exists(BUILD_LIB_PATH . '/libphp.a') || file_exists(BUILD_LIB_PATH . '/libphp.so'))
) {
if (($build_target & BUILD_TARGET_EMBED) === BUILD_TARGET_EMBED) {
logger()->info('running embed sanity check');
$sample_file_path = SOURCE_PATH . '/embed-test';
if (!is_dir($sample_file_path)) {