4
# Copyright Ericsson AB 2009-2011. All Rights Reserved.
6
# The contents of this file are subject to the Erlang Public License,
7
# Version 1.1, (the "License"); you may not use this file except in
8
# compliance with the License. You should have received a copy of the
9
# Erlang Public License along with this software. If not, it can be
10
# retrieved online at http://www.erlang.org/.
12
# Software distributed under the License is distributed on an "AS IS"
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
# the License for the specific language governing rights and limitations
19
include $(ERL_TOP)/make/target.mk
20
include $(ERL_TOP)/make/$(TARGET)/otp.mk
22
# ----------------------------------------------------
24
# ----------------------------------------------------
32
ERL_FILES= $(MODULES:%=%.erl)
34
HRL_FILES= et_test_lib.hrl
37
$(MODULES:%=$(EBIN)/%.$(EMULATOR))
39
INSTALL_PROGS= $(TARGET_FILES)
41
# ----------------------------------------------------
42
# Release directory specification
43
# ----------------------------------------------------
44
RELSYSDIR = $(RELEASE_PATH)/et_test
46
# ----------------------------------------------------
48
# ----------------------------------------------------
53
# ----------------------------------------------------
55
# ----------------------------------------------------
57
tests debug opt: $(TARGET_FILES)
65
# ----------------------------------------------------
67
# ----------------------------------------------------
68
include $(ERL_TOP)/make/otp_release_targets.mk
72
release_tests_spec: opt
73
$(INSTALL_DIR) $(RELSYSDIR)
74
$(INSTALL_DATA) et.spec et.cover $(ERL_FILES) $(HRL_FILES) $(RELSYSDIR)
75
$(INSTALL_SCRIPT) ett $(RELSYSDIR)
76
$(INSTALL_DATA) $(INSTALL_PROGS) $(RELSYSDIR)
77
# chmod -f -R u+w $(RELSYSDIR)
78
# @tar cf - *_SUITE_data | (cd $(RELSYSDIR); tar xf -)