#!/bin/sh

set -e

export PYTHONPATH=`pwd`

# regular unit tests
find ./barrister/test -name "*_test.py" -exec python {} \; -print

# conformance test suite
cd conform; python conform_test.py

#!/bin/sh

set -e

export PYTHONPATH=`pwd`

# regular unit tests
# use xargs instead of -exec so that we get exit code propegation
find ./barrister/test -name "*_test.py" -print | xargs -n1 python

# conformance test suite
cd conform; python conform_test.py

Switch to xargs so exit codes are propegated
Switch to xargs so exit codes are propegated