#!/bin/sh

cd test
status = 0

for testbin in *; do
    if [ -x "$testbin" ] && [ ! -d "$testbin" ]; then
        if "./$testbin"; then
            echo "PASS: $testbin"
        else
            echo "FAIL: $testbin"
            status=1
        fi
    fi
done

return $status

