#!/bin/sh # Be in the directory with all the tests. cd `dirname $0`; # Create database. mysql -e 'CREATE DATABASE IF NOT EXISTS `test`'; # Run tests sequentially. for foo in *Test.php; do php $foo; done;