Skip to content

Commit 9e44bd0

Browse files
committed
Add recipes to generate Julia test fixtures
1 parent 9cbb955 commit 9e44bd0

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
# TARGETS #
3+
4+
# Run fixture runners.
5+
#
6+
# This target runs scripts written in Julia to generate test fixtures. Note that we assume the scripts can be run using Julia.
7+
8+
test-fixtures-julia:
9+
$(QUIET) $(FIND_JULIA_TESTS_FIXTURES_CMD) | grep '^[\/]\|^[a-zA-Z]:[/\]' | while read -r file; do \
10+
echo ""; \
11+
echo "Generating test fixtures: $$file"; \
12+
$(MAKE_EXECUTABLE) $$file && $$file || exit 1; \
13+
done
14+
15+
.PHONY: test-fixtures-julia
16+
17+
18+
# Run fixture runners.
19+
#
20+
# This target runs a list of scripts written in Julia to generate fixtures. Note that we assume the scripts can be run using Julia.
21+
22+
test-fixtures-julia-files:
23+
$(QUIET) for file in $(FILES); do \
24+
echo ""; \
25+
echo "Generating test fixtures: $$file"; \
26+
$(MAKE_EXECUTABLE) $$file && $$file || exit 1; \
27+
done
28+
29+
.PHONY: test-fixtures-julia-files

0 commit comments

Comments
 (0)