Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 3 | # clock.test needs a timezone to be set |
| 4 | export TZ="Europe/London" |
| 5 | export TCL_LIBRARY=library |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 6 | |
| 7 | # Some tests are overly strict with timings and fail on loaded systems. |
| 8 | # See bugs #14825 #14882 #15081 #15321. |
| 9 | SKIPPED_TESTS='async-* cmdMZ-6.6 event-* exit-1.* socket-* socket_inet-*' |
| 10 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | for i in `ls tests/*.test | awk -F/ '{print $2}'`; do |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 12 | ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1 |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 13 | grep -q -F -e "Files with failing tests:" -e "Test files exiting with errors:" $i.log |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | done |