blob: 87e025fce12b57298bf88c3cdf985e71bc0cd568 [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
Patrick Williams169d7bc2024-01-05 11:33:25 -06006
7# Some tests are overly strict with timings and fail on loaded systems.
8# See bugs #14825 #14882 #15081 #15321.
9SKIPPED_TESTS='async-* cmdMZ-6.6 event-* exit-1.* socket-* socket_inet-*'
10
Brad Bishop19323692019-04-05 15:28:33 -040011for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
Andrew Geissler5082cc72023-09-11 08:41:39 -040012 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1
Andrew Geissler5f350902021-07-23 13:09:54 -040013 grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log
Brad Bishop19323692019-04-05 15:28:33 -040014 if [ $? -eq 0 ]; then
15 echo "FAIL: $i"
16 cat $i.log
17 else
18 echo "PASS: $i"
19 fi
20 rm -f $i.log
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021done