diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/core_autopatch.mk | 2 | ||||
-rw-r--r-- | test/plugin_dialyzer.mk | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/core_autopatch.mk b/test/core_autopatch.mk index c961a78..2112f3b 100644 --- a/test/core_autopatch.mk +++ b/test/core_autopatch.mk @@ -172,7 +172,7 @@ core-autopatch-two-rebar: init $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\ndep_epgsql = git https://github.com/epgsql/epgsql master\ndep_mochiweb = git https://github.com/mochi/mochiweb main\n"}' $(APP)/Makefile + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = epgsql mochiweb\ndep_epgsql = git https://github.com/epgsql/epgsql devel\ndep_mochiweb = git https://github.com/mochi/mochiweb main\n"}' $(APP)/Makefile $i "Build the application" $t $(MAKE) -C $(APP) $v diff --git a/test/plugin_dialyzer.mk b/test/plugin_dialyzer.mk index eca80a2..e4240d7 100644 --- a/test/plugin_dialyzer.mk +++ b/test/plugin_dialyzer.mk @@ -298,6 +298,10 @@ dialyzer-plt-ebin-only: init $i "Build the application" $t $(MAKE) -C $(APP) $v +# @todo Temporary measure to make CACHE_DEPS=1 tests work again. + $i "Patch Cowlib's Erlang.mk" + $t cp ../erlang.mk $(APP)/deps/cowlib/ + $i "Build Cowlib for tests to fetch autopatched dependencies" $t $(MAKE) -C $(APP)/deps/cowlib test-build $v |