From 49440e43093a46eabbc1a8396a9197ae11a105fb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Feb 2014 09:25:51 +0100 Subject: php-pecl-mongo: test info + patch (refused upstream, not applied) --- tests.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests.txt (limited to 'tests.txt') diff --git a/tests.txt b/tests.txt new file mode 100644 index 0000000..7bbe8ff --- /dev/null +++ b/tests.txt @@ -0,0 +1,21 @@ +# config +sed -e '/DBDIR/s:/data:/tmp/data:' \ + tests/utils/cfg.inc.template >tests/utils/cfg.inc + +# select servers (use SKIP_ prefix to skip) and launch +# see .travis.scripts/compile.sh +MONGO_SERVER_STANDALONE=yes \ +MONGO_SERVER_STANDALONE_AUTH=yes \ +MONGO_SERVER_REPLICASET=yes \ +MONGO_SERVER_REPLICASET_AUTH=yes \ +make servers + +# test suite +TEST_PHP_EXECUTABLE=/usr/bin/php \ +TEST_PHP_ARGS="-n -d extension=json.so -d extension=$PWD/modules/mongo.so" \ +NO_INTERACTION=1 \ +REPORT_EXIT_STATUS=1 \ +/usr/bin/php -n run-tests.php + +# cleaups +make stop-servers -- cgit