#!/bin/bash
find . -type f -executable -name "test_*" | while read testname; do
        "$testname"
        if [[ $? -gt 0 ]]; then
                tput bold
                printf "\nTest %s failed" "$testname"
                tput sgr0
                exit
        else
                printf "."
        fi
done
printf "\n"
