aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dialyzer/test/Makefile')
-rw-r--r--lib/dialyzer/test/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/dialyzer/test/Makefile b/lib/dialyzer/test/Makefile
new file mode 100644
index 0000000000..47deb17f1d
--- /dev/null
+++ b/lib/dialyzer/test/Makefile
@@ -0,0 +1,34 @@
+include $(ERL_TOP)/make/target.mk
+include $(ERL_TOP)/make/$(TARGET)/otp.mk
+
+# ----------------------------------------------------
+# Files
+# ----------------------------------------------------
+
+AUXILIARY_FILES=\
+ dialyzer.spec\
+ dialyzer_test_constants.hrl\
+ dialyzer_common.erl\
+ file_utils.erl\
+ plt_SUITE.erl
+
+# ----------------------------------------------------
+# Release directory specification
+# ----------------------------------------------------
+
+RELSYSDIR = $(RELEASE_PATH)/dialyzer_test
+
+# ----------------------------------------------------
+# Release Target
+# ----------------------------------------------------
+
+include $(ERL_TOP)/make/otp_release_targets.mk
+
+release_tests_spec:
+ $(INSTALL_DIR) $(RELSYSDIR)
+ chmod -R u+w $(RELSYSDIR)
+ $(INSTALL_DATA) $(AUXILIARY_FILES) $(RELSYSDIR)
+ @tar cf - *_SUITE_data | (cd $(RELSYSDIR); tar xf -)
+ cd $(RELSYSDIR);\
+ erl -make;\
+ erl -noshell -run dialyzer_common create_all_suites -s erlang halt