Pass PHP_VERSION_ID to the extension test scripts

pull/179/head
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
1 changed files with 1 additions and 1 deletions

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;
}