]> git.g-eek.se Git - interimap.git/commitdiff
`make test`: Only consider tests/*/run.
authorGuilhem Moulin <guilhem@fripost.org>
Mon, 3 Jun 2019 02:04:36 +0000 (04:04 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Mon, 3 Jun 2019 12:23:51 +0000 (14:23 +0200)
Makefile

index ec35011dd01ba935c32b7963ed826aa8b4d70e50..b0e4d59e26a8e712dcbf638a8969cbb9fbb25ab6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ all: pullimap.1 interimap.1
 install:
 
 test:
-       @for t in tests/*; do [ -d "$$t" ] || continue; ./tests/run "$$t" || exit 1; done
+       @for t in tests/*; do if [ -f "$$t/run" ]; then ./tests/run "$$t" || exit 1; fi; done
 
 clean:
        rm -f pullimap.1 interimap.1