]> git.scottworley.com Git - pinch/commitdiff
Announce test names as they are run.
authorScott Worley <scottworley@scottworley.com>
Fri, 14 Jan 2022 06:00:08 +0000 (22:00 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 14 Jan 2022 06:04:21 +0000 (22:04 -0800)
This makes it easier to see which test is broken.

Changelog
test.sh

index 1bd1d9cbd0ac6718ef0d7f0d250f31c4cdb23fb5..de62e83a9b0c7ad3626859267b70951642ecdd12 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -4,6 +4,7 @@
 - Show the channel URL being fetched.
 - Use nix 2.3 because 2.4 broke <nix/unpack-channel.nix>.
 - Support restricted mode: Allow tarball access with search paths.
 - Show the channel URL being fetched.
 - Use nix 2.3 because 2.4 broke <nix/unpack-channel.nix>.
 - Support restricted mode: Allow tarball access with search paths.
+- Announce test names as they are run.
 
 
 ## [3.0.5] - 2021-07-09
 
 
 ## [3.0.5] - 2021-07-09
diff --git a/test.sh b/test.sh
index fed0065bd99b1d7a271b23787bfb2edcf371f455..81e0c667a707478cee8b4ae55a4f6f98a700459a 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -9,6 +9,7 @@ find . -name build -prune -o -name dist -prune -o -name '*.py' -print0 |
 
 for test in tests/*;do
   if [ ! -d "$test" ];then
 
 for test in tests/*;do
   if [ ! -d "$test" ];then
+    echo "### Running test $test" >&2
     "$test"
   fi
 done
     "$test"
   fi
 done