run-all.sh 334 Bytes
Newer Older
1 2 3
#!/bin/bash

# This script is a small convenience wrapper for running the doctrine testsuite against a large bunch of databases.
4
# Create *.phpunit.xml files and specify database connection parameters in the <php /> section.
5

6 7 8
for i in *.phpunit.xml; do
    echo "RUNNING TESTS WITH CONFIG $i"
    vendor/bin/phpunit -c "$i" "$@"
9
done