diff options
author | Loïc Hoguin <[email protected]> | 2024-11-13 17:23:22 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-11-13 17:23:22 +0100 |
commit | e903cc89c5cc389305ee8dc0b15a8db250de1b37 (patch) | |
tree | e67c910a6f38062e78a022733e2cb31402c0441d /test/plugin_triq.mk | |
parent | 4d3d3fa4e94f8c31c7012c4e076e9b5a9b8ecb0a (diff) | |
download | erlang.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_triq.mk')
-rw-r--r-- | test/plugin_triq.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/plugin_triq.mk b/test/plugin_triq.mk index 58fd217..bf81d98 100644 --- a/test/plugin_triq.mk +++ b/test/plugin_triq.mk @@ -1,10 +1,10 @@ # Triq plugin. -TRIQ_TARGETS = $(call list_targets,triq) +triq_TARGETS = $(call list_targets,triq) -.PHONY: triq $(TRIQ_TARGETS) +.PHONY: triq $(triq_TARGETS) -triq: $(TRIQ_TARGETS) +triq: $(triq_TARGETS) triq-test-dir: init |