aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-25 14:24:22 +0100
committerLoïc Hoguin <[email protected]>2018-11-25 14:27:16 +0100
commit77c0ec834fcf57aaf8460a515829066377756b63 (patch)
treed440ca25638d595f7ab43a42461c185c3222477f /core/deps.mk
parenta59058e20c7c703d7bb9f6bcd2ac471d4d950d03 (diff)
downloaderlang.mk-77c0ec834fcf57aaf8460a515829066377756b63.tar.gz
erlang.mk-77c0ec834fcf57aaf8460a515829066377756b63.tar.bz2
erlang.mk-77c0ec834fcf57aaf8460a515829066377756b63.zip
Build issues testing multi-apps projects
I've reworked how the multi-apps projects are built. In particular I've made sure the test build is made from the top-level once, and then only tests are run on this build. It used to build multiple times and some builds would not include test mode, not good. I've also fixed issues with running tests in parallel. All tests now pass with -j8 on my machine. It's possible more issues remain that are not covered by tests yet though.
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 19a2410..d5b12a6 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -98,7 +98,7 @@ endif
:; \
else \
echo $$dep >> $(ERLANG_MK_TMP)/apps.log; \
- $(MAKE) -C $$dep IS_APP=1; \
+ $(MAKE) -C $$dep $(if $(IS_TEST),test-build-app) IS_APP=1; \
fi \
done