summaryrefslogtreecommitdiffstats
path: root/php/tests
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-10 11:35:43 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-08-10 11:35:43 +0000
commitf58f17bd114e3a66839d2763691bef3afdcc8487 (patch)
treee6ba0790edc897b61621c07ef0a92744cc33ff80 /php/tests
parent80336f5144fb0d1d941a5c419bc20c3e6cc8b059 (diff)
downloadlasso-f58f17bd114e3a66839d2763691bef3afdcc8487.tar.gz
lasso-f58f17bd114e3a66839d2763691bef3afdcc8487.tar.xz
lasso-f58f17bd114e3a66839d2763691bef3afdcc8487.zip
add php unit test support. just run php -f php/run-tests.php
Diffstat (limited to 'php/tests')
-rw-r--r--php/tests/001.phpt13
-rw-r--r--php/tests/Makefile.am1
2 files changed, 14 insertions, 0 deletions
diff --git a/php/tests/001.phpt b/php/tests/001.phpt
new file mode 100644
index 00000000..ce898d6d
--- /dev/null
+++ b/php/tests/001.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Check for lasso presence
+--SKIPIF--
+<?php if (!extension_loaded("lasso")) print "skip"; ?>
+--POST--
+--GET--
+--INI--
+--FILE--
+<?php
+echo "lasso extension is available";
+?>
+--EXPECT--
+lasso extension is available
diff --git a/php/tests/Makefile.am b/php/tests/Makefile.am
index e69de29b..6c70fc5a 100644
--- a/php/tests/Makefile.am
+++ b/php/tests/Makefile.am
@@ -0,0 +1 @@
+EXTRA_DIST = 001.phpt