#!/bin/sh for f in `find . -type f -name '*_test.v'`; do echo "Testing $f..." v $f || echo "fail" done for f in `find examples -type f -name '*.v'`; do echo "Building $f..." v $f || echo "fail" done