#!/bin/sh

set -e

pear_pkg=`ls | grep PHP_CodeSniffer`

cd ${pear_pkg}
PKG_ROOT=`pwd`
cd tests

phpunit -d include_path=".:/usr/share/php:${PKG_ROOT}" AllTests.php
