#!/bin/sh
# The next line restarts using pvmsh \
exec pvmsh $0 ${1+"$@"}

# This file contains a top-level script to run all of the tkPvm
# tests.  It can be run directly or sourced from pvmsh (or tclsh
# if you have version 7.5 or higher and libPvm.so installed)
#
# @(#) all 1.6 95/06/13 10:54:11

foreach i [lsort [glob *.test]] {
    if [string match l.*.test $i] {
	# This is an SCCS lock file;  ignore it.
	continue
    }
    puts stdout $i;
    if [catch {source $i} msg] {
	puts $msg
    }
}

if {$numFail>0} {
    puts stdout "$numFail tests failed"
} else {
    puts stdout "All tests passed"
}
