* dep files
[m6w6/ext-http] / tests / skip.inc
diff --git a/tests/skip.inc b/tests/skip.inc
new file mode 100644 (file)
index 0000000..64dba34
--- /dev/null
@@ -0,0 +1,4 @@
+<?php 
+extension_loaded('http') or die('skip ext/http not available');
+strncasecmp(PHP_SAPI, 'CLI', 3) or die('skip cannot run tests with CLI');
+?>
\ No newline at end of file