zeek/testing/external/Makefile
Arne Welzel 6a98386820 testing/external: Bump cluster testsuite
...also add/propose aliases for sync-commits / sync-repos, because I could not
remember for the past 5 times or so in which direction they would sync and
would find myself reading the README, Makefile, or comments in the scripts.
2022-11-30 15:10:14 +01:00

39 lines
1 KiB
Makefile

PUBLIC_REPO=https://github.com/zeek/zeek-testing
REPOS=`./scripts/find-git-repos`
DIAG=diag.log
all:
@rm -f $(DIAG)
@for repo in $(REPOS); do ( cd $$repo && make -s ); done
brief:
@rm -f $(DIAG)
@for repo in $(REPOS); do ( cd $$repo && make -s brief ); done
init:
git clone $(PUBLIC_REPO) && ./scripts/sync-repo $$(basename $(PUBLIC_REPO))
pull:
@for repo in $(REPOS); do ( cd $$repo && git pull ); done
push:
@for repo in $(REPOS); do ( cd $$repo && git push origin HEAD ); done
status:
@for repo in $(REPOS); do ( cd $$repo && echo '>>' $$repo && git status -bs && echo ); done
coverage:
@for repo in $(REPOS); do ( cd $$repo && echo "Coverage for '$$repo' repo:" && make coverage ); done
update-timing:
@for repo in $(REPOS); do ( cd $$repo && echo "Updating timing for '$$repo' repo:" && make update-timing ); done
update-commit-hashes sync-commits:
for repo in $(REPOS); do ./scripts/sync-commit $$repo; done
checkout-repos sync-repos:
for repo in $(REPOS); do ./scripts/sync-repo $$repo; done
.PHONY: all brief init pull push status coverage