blob: a403a74bb64657f4e9e378ce3c99eccff6e3506a [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 Williams03514f12024-04-05 07:04:11 -05006export ERROR_ON_FAILURES=1
Patrick Williams169d7bc2024-01-05 11:33:25 -06007
8# Some tests are overly strict with timings and fail on loaded systems.
Patrick Williams03514f12024-04-05 07:04:11 -05009SKIP=""
10# 15321
11SKIP="$SKIP async-\* event-\*"
12# 14882
13SKIP="$SKIP cmdMZ-6.6"
14# 15081
15SKIP="$SKIP exit-1.\*"
16# 15407 15421
17SKIP="$SKIP \*io-46.1"
18# 14825
19SKIP="$SKIP socket-\* socket_inet-\*"
Patrick Williams169d7bc2024-01-05 11:33:25 -060020
Patrick Williams03514f12024-04-05 07:04:11 -050021for i in tests/*.test; do
22 i=$(basename $i)
23 ./tcltest tests/all.tcl -file $i -skip "$SKIP"
Brad Bishop19323692019-04-05 15:28:33 -040024 if [ $? -eq 0 ]; then
Brad Bishop19323692019-04-05 15:28:33 -040025 echo "PASS: $i"
Patrick Williams03514f12024-04-05 07:04:11 -050026 else
27 echo "FAIL: $i"
Brad Bishop19323692019-04-05 15:28:33 -040028 fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029done