#!/bin/sh

# Process command line options.
. ./handle_options

# Run the tests in each of the subdirectories.
. ./subdir_runtests

if test "$subdir_failures" = ""
then
	echo "all tests have succeeded"
	echo "mmakeopts=$mmakeopts"
	exit 0
else
	echo "some tests have failed in: $subdir_failures"
	echo "mmakeopts=$mmakeopts"
	exit 1
fi
