-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional make targets to run all golden tests
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
instances=$(shell find ./tests -maxdepth 1 -type f -name '*.yml') | ||
|
||
.PHONY: all-golden-diff | ||
golden-diff-all: recursive_target=golden-diff | ||
golden-diff-all: $(instances) ## Run golden-diff for all instances. Note: this doesn't work when running make with multiple parallel job (-j != 1). | ||
|
||
.PHONY: all-golden-diff | ||
gen-golden-all: recursive_target=gen-golden | ||
gen-golden-all: $(instances) ## Run gen-golden for all instances. Note: this doesn't work when running make with multiple parallel job (-j != 1). | ||
|
||
.PHONY: $(instances) | ||
$(instances): | ||
$(MAKE) $(recursive_target) -e instance=$(basename $(@F)) |