#!/bin/sh
# 
# $Copyright
# Copyright 1993, 1994 , 1995 Intel Corporation
# INTEL CONFIDENTIAL
# The technical data and computer software contained herein are subject
# to the copyright notices; trademarks; and use and disclosure
# restrictions identified in the file located in /etc/copyright on
# this system.
# Copyright$
# 
 
#
# Put configuration file information at the start of every report.
#

echo 'Starting' $1 'test at' `date`
echo ' '
echo ' '
echo 'Configuration information:'
#
# set up config_data dynamically instead of static
# (node changes, chip types, etc)
# fix for bug #114.

cat config_data

# show OS release, chip type, SVR level
echo " "
uname -a

# Go thru all the test directories and run, or bypass, the tests.
cd test.dirs		# Our home directory for the rest of the script
for n in `ls -1 | grep -v common | grep -v Makefile`
do
	echo '*************************   ' $n '   *************************'
	if [ -f $n/BYPASS ]
	then
		echo Bypassing test $n at `date`
		echo "(because file test.dirs/$n/BYPASS exists)."
	else
		echo Starting test $n at `date`
		echo " "
		( cd $n; ./${n}.run ) 
	fi
	sync
	echo '*************************   ' $n '   *************************'
	echo " "
	echo " "
done
