1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Pass PHP_VERSION_ID to the extension test scripts

This commit is contained in:
Michele Locati 2020-10-18 19:29:55 +02:00
parent ed743db530
commit 7520cb08b4
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B

View file

@ -10,7 +10,7 @@ $testsDir = __DIR__ . '/tests';
function runTest($testFile)
{
$rc = -1;
passthru($testFile, $rc);
passthru(escapeshellarg($testFile) . ' ' . PHP_VERSION_ID, $rc);
return $rc === 0;
}