aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/core_deps.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk
index 3403f58..79e1e9b 100644
--- a/test/core_deps.mk
+++ b/test/core_deps.mk
@@ -26,6 +26,20 @@ ifneq ($(PLATFORM),msys2)
$t test -f $(APP)/deps/erlsha2/priv/erlsha2_nif.so
endif
+# This test is expected to fail when run in parallel and flock/lockf is not available.
+core-deps-autopatch-two-rebar: build clean
+
+ $i "Bootstrap a new OTP library named $(APP)"
+ $t mkdir $(APP)/
+ $t cp ../erlang.mk $(APP)/
+ $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v
+
+ $i "Add two Rebar projects to the list of dependencies"
+ $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = epgsql mochiweb\n"}' $(APP)/Makefile
+
+ $i "Build the application"
+ $t $(MAKE) -C $(APP) $v
+
ifneq ($(PLATFORM),msys2)
core-deps-build-c-8cc: build clean