You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2022. It is now read-only.
Add make targets gen-golden-all and golden-diff-all
These targets use a static list of test instances in make variable
`test_instances`. The contents of this variable are generated from the
modulesync parameter `testMatrix.entries`.
We use a generic recursive make target based on the `test_instances`
make variable to implement the new targets. This allows us to reuse the
existing `golden-diff` and `gen-golden` targets.
The new targets are only added for components which have golden and
matrix tests configured and which have migrated their matrix test
configuration to modulesync parameter `testMatrix`.
golden-diff: clean .compile ## Diff compile output against the reference version. Review output and run `make gen-golden golden-diff` if this target fails.
<%- if !@configs['testMatrix'].empty? && !@configs['testMatrix']['entries'].empty? -%>
79
+
80
+
.PHONY: golden-diff-all
81
+
golden-diff-all: recursive_target=golden-diff
82
+
golden-diff-all: $(test_instances) ## Run golden-diff for all instances. Note: this doesn't work when running make with multiple parallel jobs (-j != 1).
83
+
84
+
.PHONY: gen-golden-all
85
+
gen-golden-all: recursive_target=gen-golden
86
+
gen-golden-all: $(test_instances) ## Run gen-golden for all instances. Note: this doesn't work when running make with multiple parallel jobs (-j != 1).
0 commit comments