#!/bin/bash
#
#    run_all
#
#    $Id: run_all,v 1.2 2001/01/22 17:01:48 bstell Exp $
#
#    Copyright (c) 2000 Brian Stell
#
#    This package is free software and is provided ``as is'' without
#    express or implied warranty. It may be used, redistributed and/or
#    modified under the terms of the Perl Artistic License 
#    (see http://www.perl.com/perl/misc/Artistic.html)
#
for test in samples/*.pl
do
  echo begin $test
  sleep 1
  $test
  export TEST_STATUS=$?
  if ( [ $TEST_STATUS -ne 0 ] ) then
    echo "$test failed with exit status $TEST_STATUS, exiting ..."
    exit 1;
  fi
  echo finished $test
  sleep 2
done
exit 0;
