diff --git a/scripts/ci-test-extensions b/scripts/ci-test-extensions index 7f302cf..5558a1e 100755 --- a/scripts/ci-test-extensions +++ b/scripts/ci-test-extensions @@ -237,9 +237,12 @@ testExtensionFor() { fi printf ' - Docker image: %s\n' "$testExtensionFor_Image" testExtensionFor_out="$(mktemp)" + testExtensionFor_start=$(date +%s) if $(docker run --rm --volume "$CI_BUILD_DIR:/app" --workdir /app "$testExtensionFor_Image" sh -c "./install-php-extensions $1 && php ./scripts/check-installed-extension.php $1" >"$testExtensionFor_out" 2>&1); then + testExtensionFor_end=$(date +%s) + testExtensionFor_delta=$(expr $testExtensionFor_end - $testExtensionFor_start) rm -rf "$testExtensionFor_out" - printf ' - Passed\n' + printf ' - Passed in %s seconds\n' $testExtensionFor_delta return 0 fi printf ' - FAILED!\n' >&2