diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2017-05-26 13:48:43 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2017-05-26 15:32:01 +0200 |
commit | bb274ee00540d50a899098fd5c9b0900ac1aa631 (patch) | |
tree | 631cb38a75f5671fd72c4728b783ad5e4a86576b | |
parent | f11783111a434ae04b765a9510d16f056c91f515 (diff) | |
download | elixir-bb274ee00540d50a899098fd5c9b0900ac1aa631.tar.gz |
Kill leaked erl and epmd instances on Windows
-rw-r--r-- | .appveyor.yml | 2 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 0647781ce..31cc2dc4b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,4 +6,4 @@ build_script: before_test: - cmd: set PATH=%PATH%;C:\Program Files\erl8.3\erts-8.3\bin test_script: - - cmd: C:\MinGW\msys\1.0\bin\make --keep-going test + - cmd: C:\MinGW\msys\1.0\bin\make --keep-going test_windows @@ -196,6 +196,12 @@ zips: Precompiled.zip Docs.zip test: test_erlang test_elixir +test_windows: test test_taskkill + +test_taskkill: + taskkill //IM erl.exe //F //T //FI "MEMUSAGE gt 0" + taskkill //IM epmd.exe //F //T //FI "MEMUSAGE gt 0" + TEST_ERL = lib/elixir/test/erlang TEST_EBIN = lib/elixir/test/ebin TEST_ERLS = $(addprefix $(TEST_EBIN)/, $(addsuffix .beam, $(basename $(notdir $(wildcard $(TEST_ERL)/*.erl))))) |