Skip to content

Commit d501977

Browse files
jcupittkleisauke
andauthored
Apply suggestion from @kleisauke
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
1 parent fadfd6f commit d501977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/GainmapTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ protected function setUp(): void
2222
{
2323
parent::setUp();
2424

25-
if (!Vips\FFI::atLeast(8, 18)) {
26-
$this->markTestSkipped('libvips too old for gainmap test');
25+
if (Vips\FFI::vips()->vips_type_find('VipsOperation', 'uhdrload') == 0) {
26+
$this->markTestSkipped('requires libvips built with Ultra HDR support');
2727
}
2828

2929
$filename = __DIR__ . '/images/ultra-hdr.jpg';

0 commit comments

Comments
 (0)