xref: /imagick/check-loaded.phpt (revision 45c2c520)
1--TEST--
2Check that Imagick is actually loaded
3--SKIPIF--
4
5--FILE--
6<?php
7
8// The tests are all skipped if imagick is not loaded. This can lead
9// to a false green build when Imagick isn't actually loaded. So
10// this script gives an error to allow us to error before running the tests.
11if (extension_loaded("imagick")) {
12	echo "OK" . PHP_EOL;
13}
14else {
15	echo "imagick module is not loaded." . PHP_EOL;
16}
17
18?>
19--EXPECTF--
20OK