summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-04-20 00:11:53 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2018-04-20 00:18:11 -0700
commit6371da602668d4b6300a0f89cc82031952c42d11 (patch)
tree9c62c5aaead3c4f50ec0aa294ca26d3196d529c5
parent9b062e5b7e8478d78dabaf60701d647b7aaa9b6e (diff)
Restrict test summary to first-level subfolderssummary_folders
Fixes #1736.
-rw-r--r--test/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index e87427dc6..372f42bb0 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -85,8 +85,12 @@ check-local:
fi; \
fi; \
done; \
- for dir in `find regress -not -empty -type d`; do \
- status_info=`grep -d skip ":test-result: " $$dir/*`; \
+ for dir in `find regress -maxdepth 2 -not -empty -type d | sort`; do \
+ if [[ "$$dir" =~ .*regress[0-4]$$ ]]; then \
+ status_info=`grep -d skip ":test-result: " $$dir/*`; \
+ else \
+ status_info=`grep -r ":test-result: " $$dir`; \
+ fi; \
total=`echo "$$status_info" | grep ":test-result: " | wc -l`; \
if [ $$total -ne 0 ]; then \
status="$${std}$$total TOTAL"; \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback