commit b36334c10632fd4ddd6bd0db2de60e673c9db101 from: Sven M. Hallberg date: Sat May 17 15:13:50 2025 UTC change default test/suite/dir patterns to *.t, *.tests, *, respectively The file patterns should be suffixes so they become hidden if there is another, like on a source file for a test, for instance. NB: The directory pattern only applies to directories, it will not cause regular files to be mistaken for subdirectories. Widening it to all directories is done in anticipation of introducing a -C command line option. The executable patterns also only apply to regular files. commit - 252e283ccff606d04e989025d76c032242266944 commit + b36334c10632fd4ddd6bd0db2de60e673c9db101 blob - f7246abe6cd39454b7e2ac54f8bb8bb0227c6da2 blob + afeac218f30258a55bee4d871dfe9f926267cbe1 --- exercise +++ exercise @@ -8,9 +8,9 @@ package require Tcl 8.4 # config options -set opts(-p) {*.test} ;# pattern for test executables -set opts(-ps) {*.testsuite} ;# pattern for test suite executables -set opts(-pd) {*tests} ;# pattern for test directories +set opts(-p) {*.t} ;# pattern for test executable files +set opts(-ps) {*.tests} ;# pattern for test suite executable files +set opts(-pd) {*} ;# pattern for test search directories # executing tests