Tests for new find types
[activemongo.git] / tests / tests.sh
blob3adc1aff6c8781080da480169322bc3461052a60
1 #!/bin/bash -x
2 PHP52=~/bin/php-5.2/bin/php
3 OPTPHP52="-dextension=mongo.so"
4 PHP53=$(which php)
5 OPTPHP53=""
6 PHPUNIT=$(which phpunit)
8 $PHP53 $PHPOPT53 $PHPUNIT --coverage-html coverage ActiveMongoSuite.php
9 sleep 1
10 $PHP52 $OPTPHP52 $PHPUNIT ActiveMongoSuite.php