aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_erlydtl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-11-13 17:23:22 +0100
committerLoïc Hoguin <[email protected]>2024-11-13 17:23:22 +0100
commite903cc89c5cc389305ee8dc0b15a8db250de1b37 (patch)
treee67c910a6f38062e78a022733e2cb31402c0441d /test/plugin_erlydtl.mk
parent4d3d3fa4e94f8c31c7012c4e076e9b5a9b8ecb0a (diff)
downloaderlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.tar.gz
erlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.tar.bz2
erlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.zip
Greatly speed up test speed with -j
The tests were waiting for the test group to finish before they could continue with the next test group. Now "core" and "all" targets directly depend on individual test cases, allowing parallel Make to get to the next tests quicker and removing 1/3rd of the total run time. make check -j8 -k 5790,16s user 1207,08s system 627% cpu 18:35,49 total make check -j8 -k 6250,13s user 1326,77s system 972% cpu 12:59,16 total
Diffstat (limited to 'test/plugin_erlydtl.mk')
-rw-r--r--test/plugin_erlydtl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/plugin_erlydtl.mk b/test/plugin_erlydtl.mk
index 1dac6e1..0cc0774 100644
--- a/test/plugin_erlydtl.mk
+++ b/test/plugin_erlydtl.mk
@@ -1,10 +1,10 @@
# ErlyDTL plugin.
-ERLYDTL_TARGETS = $(call list_targets,erlydtl)
+erlydtl_TARGETS = $(call list_targets,erlydtl)
-.PHONY: erlydtl $(ERLYDTL_TARGETS)
+.PHONY: erlydtl $(erlydtl_TARGETS)
-erlydtl: $(ERLYDTL_TARGETS)
+erlydtl: $(erlydtl_TARGETS)
erlydtl-compile: init