fix tests skip condition
This commit is contained in:
parent
b4f152f860
commit
351bce6117
@ -1,7 +1,10 @@
|
||||
--TEST--
|
||||
Frontal face detection.
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("pdlib") print "skip"; ?>
|
||||
<?php
|
||||
if (!extension_loaded("pdlib")) die('skip pdlib extension missing');
|
||||
if (getenv("SKIP_SLOW_TESTS")) die('skip slow test');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
printf("Simple detection\n");
|
||||
|
@ -1,7 +1,11 @@
|
||||
--TEST--
|
||||
Full test for face recognition - download models, detect faces, landmark detection and face recognition.
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("pdlib") || (function_exists("bzopen"))) print "skip"; ?>
|
||||
<?php
|
||||
if (!extension_loaded("pdlib")) die('skip pdlib extension missing');
|
||||
if (!function_exists("bzopen")) die('skip bz2 extension missing');
|
||||
if (getenv("SKIP_ONLINE_TESTS")) die('skip online test');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$models = array(
|
||||
|
Loading…
Reference in New Issue
Block a user