blob: 5b9127784edbf7e93708cba9dbd1c3e7caa109e0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
2
Andrew Geissler5f350902021-07-23 13:09:54 -04003# clock.test needs a timezone to be set
4export TZ="Europe/London"
5export TCL_LIBRARY=library
Andrew Geissler5082cc72023-09-11 08:41:39 -04006SKIPPED_TESTS=
Brad Bishop19323692019-04-05 15:28:33 -04007for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
Andrew Geissler5082cc72023-09-11 08:41:39 -04008 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1
Andrew Geissler5f350902021-07-23 13:09:54 -04009 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log
Brad Bishop19323692019-04-05 15:28:33 -040010 if [ $? -eq 0 ]; then
11 echo "FAIL: $i"
12 cat $i.log
13 else
14 echo "PASS: $i"
15 fi
16 rm -f $i.log
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017done