#!/bin/sh
RET=0
cd tests
for t in $(find . -type f -executable -maxdepth 1); do
    if ./$t; then
        echo PASS: $t
    else
        echo FAIL: $t
        RET=1
    fi
done
exit $RET
