aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-14 18:13:46 +0200
committerLoïc Hoguin <[email protected]>2015-09-14 18:13:46 +0200
commit4f59af14f2977a2d925f7b0d97caf49a4d6d31de (patch)
treef433e6d706261149d71e216a52adf9a8602bff68 /test/Makefile
parent3f7627ba58e5317aaaa0cdd665d2a2117f21b2be (diff)
downloaderlang.mk-4f59af14f2977a2d925f7b0d97caf49a4d6d31de.tar.gz
erlang.mk-4f59af14f2977a2d925f7b0d97caf49a4d6d31de.tar.bz2
erlang.mk-4f59af14f2977a2d925f7b0d97caf49a4d6d31de.zip
Make relx work on Windows/MSYS2
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 4f715a3..ba612fa 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -11,6 +11,14 @@ APP_TO_CLEAN = $(subst -,_,$(patsubst clean-%,%,$@))
ERL = erl +A0 -noinput -boot start_clean
+# Platform, condensed version.
+
+ifeq ($(shell uname -o),Msys)
+ PLATFORM = msys2
+else
+ PLATFORM = unix
+endif
+
# OTP master, for downloading files for testing.
OTP_MASTER = https://raw.githubusercontent.com/erlang/otp/master