tags 819122 + patch
thanks

Hi!

I'd like to propose the following patch to Makefile for the issue
(also attached):

------------------------------------------------------------------
--- a/Makefile
+++ b/Makefile
@@ -223,12 +223,13 @@

 test_stdlib: compile
        @ echo "==> elixir (exunit)"
-       $(Q) exec epmd & exit
+       $(Q) epmd -daemon
        $(Q) if [ "$(OS)" = "Windows_NT" ]; then \
                cd lib/elixir && cmd //C call ../../bin/elixir.bat -r
"test/elixir/test_helper.exs" -pr "test/elixir/**/*_test.exs"; \
        else \
                cd lib/elixir && ../../bin/elixir -r
"test/elixir/test_helper.exs" -pr "test/elixir/**/*_test.exs"; \
        fi
+       $(Q) epmd -kill

 #==> Dialyzer tasks
-------------------------------------------------------------------

basically, it starts epmd as a daemon during test phase and kills it afterwards.

Cheers!
-- 
Sergei Golovan

Attachment: elixir-epmd.patch
Description: Binary data

Reply via email to