Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAIL Test Imagick, getImageKurtosis [tests/316_Imagick_getImageKurtosis.phpt] #669

Open
nextgenthemes opened this issue Apr 17, 2024 · 0 comments

Comments

@nextgenthemes
Copy link

nextgenthemes commented Apr 17, 2024

I wrote this script to build on Ubuntu 22.04

One build step told me to run make test so I did. #645 this came up in my search, not sure if it's related.

#!/bin/bash
set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/

# Uninstall imagemagick v6
sudo apt-get purge imagemagick* -y

# Build imagemagick 7 with IMEI (https://github.com/SoftCreatR/imei)
wget https://dist.1-2.dev/imei.sh --output-document /tmp/imei.sh
sudo bash /tmp/imei.sh --use-checkinstall --build-only --force

# Install imagemagick and dependencies
sudo apt-get install /usr/local/src/imei*.deb -y

# Build + install imagick php extension
rm -rf /tmp/imagick
git clone https://github.com/Imagick/imagick /tmp/imagick
cd /tmp/imagick
phpize && ./configure
make
sudo make install
make test
TIME END 2024-04-17 14:00:58

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   16
---------------------------------------------------------------------

Number of tests :  333               322
Tests skipped   :   11 (  3.3%) --------
Tests warned    :    3 (  0.9%) (  0.9%)
Tests failed    :    1 (  0.3%) (  0.3%)
Expected fail   :    1 (  0.3%) (  0.3%)
Tests passed    :  317 ( 95.2%) ( 98.4%)
---------------------------------------------------------------------
Time taken      :   42 seconds
=====================================================================

=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test Imagick, affineTransformImage [tests/031_Imagick_affineTransformImage_basic.phpt]  XFAIL REASON: I don't understand what values are returned in which elements of getImageChannelStatistics
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test Imagick, getImageKurtosis [tests/316_Imagick_getImageKurtosis.phpt]
=====================================================================

=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
Test ImagickDraw, getDensity [tests/268_ImagickDraw_getDensity_basic.phpt] (warn: XFAIL section but test passes)
Test Imagick, GetImageChannelRange basic [tests/287_Imagick_GetImageChannelRange_basic.phpt] (warn: XFAIL section but test passes)
ImagickPixel iterator [tests/bug_73840.phpt] (warn: XFAIL section but test passes)
=====================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant