4
# Copyright Ericsson AB 1999-2009. All Rights Reserved.
4
# Copyright Ericsson AB 1999-2010. All Rights Reserved.
6
6
# The contents of this file are subject to the Erlang Public License,
7
7
# Version 1.1, (the "License"); you may not use this file except in
8
8
# compliance with the License. You should have received a copy of the
9
9
# Erlang Public License along with this software. If not, it can be
10
10
# retrieved online at http://www.erlang.org/.
12
12
# Software distributed under the License is distributed on an "AS IS"
13
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
# the License for the specific language governing rights and limitations
15
15
# under the License.
19
19
include $(ERL_TOP)/make/target.mk
129
143
# ----------------------------------------------------
131
tests debug opt: $(TARGET_FILES)
145
tests debug opt: $(BUILDTARGET)
147
targets: $(TARGET_FILES)
151
emakebuild: $(EMAKEFILE)
154
$(MAKE_EMAKE) $(ERL_COMPILE_FLAGS) -o$(EBIN) '*_SUITE_make' | grep -v Warning > $(EMAKEFILE)
155
$(MAKE_EMAKE) $(ERL_COMPILE_FLAGS) -o$(EBIN) $(MODULES) | grep -v Warning >> $(EMAKEFILE)
134
159
rm -f $(TARGET_FILES)
135
160
rm -f errs core *~
165
@echo "MAKE_EMAKE = $(MAKE_EMAKE)"
166
@echo "EMAKEFILE = $(EMAKEFILE)"
167
@echo "BUILDTARGET = $(BUILDTARGET)"
140
169
@echo "ERL_COMPILE_FLAGS = $(ERL_COMPILE_FLAGS)"
141
170
@echo "ERL = $(ERL)"
142
171
@echo "MERL = $(MERL)"
173
@echo "ARGS = $(ARGS)"
175
@echo "HRL_FILES = $(HRL_FILES)"
176
@echo "ERL_FILES = $(ERL_FILES)"
177
@echo "TARGET_FILES = $(TARGET_FILES)"
182
@echo "This Makefile controls the test of the $(APPLICATION) application. "
184
@echo "There are two separate ways to perform the test of $(APPLICATION)."
186
@echo " a) Run the official OTP test-server (which we do not describe here)"
188
@echo " b) Run the test-server provided with this application. "
189
@echo " There are a number of targets to run the entire or parts"
190
@echo " of this applications ($(APPLICATION)) test-suite"
195
@echo " Print this info"
198
@echo " Prints various environment variables. "
199
@echo " May be useful when debugging the Makefile. "
201
@echo " tests | debug | opt "
202
@echo " Compile all test-code. "
205
@echo " Remove all targets. "
208
@echo " Run the entire $(APPLICATION) test-suite. "
211
@echo " Run the $(APPLICATION) application sub-test-suite. "
214
@echo " Run the $(APPLICATION) application upgrade (appup) sub-test-suite. "
217
@echo " Run the $(APPLICATION) config sub-test-suite. "
218
@echo " Checks various aspects of the megaco configuration. "
221
@echo " Run the $(APPLICATION) codec sub-test-suite(s). "
224
@echo " Run the $(APPLICATION) flex-scanner sub-test-suite. "
225
@echo " This sub-test-suite does not test the function of the scanner itself"
226
@echo " (that is done by the codec sub-test-suite(s)), instead, this"
227
@echo " sub-test-suite tests the *handling* of the flex-scanner linked-in driver."
230
@echo " Run the $(APPLICATION) digit-map sub-test-suite. "
233
@echo " Run the $(APPLICATION) binary term-id sub-test-suite. "
236
@echo " Run the $(APPLICATION) SDP sub-test-suite. "
239
@echo " Run the $(APPLICATION) actions sub-test-suite. "
240
@echo " Actions are building blocks of a $(APPLICATION) message. "
241
@echo " This sub-test-suite attempts to perform tests related to this, "
242
@echo " using all the supported codecs. "
245
@echo " Run the $(APPLICATION) message sub-test-suite"
246
@echo " This is basic message processing test-cases"
249
@echo " Run the $(APPLICATION) transaction sender sub-test-suite"
250
@echo " This is basic message processing for a megaco application "
251
@echo " configured to be using the transaction sender. "
254
@echo " Run the $(APPLICATION) $(APPLICATION)-mib sub-test-suite"
255
@echo " Tests related to the basic support for the $(APPLICATION) mib"
256
@echo " primarily counters"
259
@echo " Run the $(APPLICATION) mreq sub-test-suite"
260
@echo " This is yet another sub-test-suite with message processing "
261
@echo " test-cases. "
264
@echo " Run the $(APPLICATION) pending-limit sub-test-suite"
267
@echo " Run the $(APPLICATION) UDP transport component sub-test-suite"
270
@echo " Run the $(APPLICATION) TCP transport component sub-test-suite"
273
@echo " Run the $(APPLICATION) load sub-test-suite"
274
@echo " This sub-test-suite performs load test test-cases using "
275
@echo " \"high\" message traffic. "
278
@echo " Run the $(APPLICATION) message segmentation sub-test-suite"
279
@echo " If using the UDP transport protocol, it is possible to send "
280
@echo " and receive segmented megaco replies (in version 3 of the protocol) "
281
@echo " This sub-test-suite tests this feature. "
284
@echo " Run the $(APPLICATION) timer sub-test-suite"
285
@echo " Basic test-suite for the megaco-timers"
288
@echo " Run the $(APPLICATION) example sub-test-suite"
289
@echo " The $(APPLICATION) application contains one example,"
290
@echo " this is a sub-test-suite based on the code,"
146
294
# ----------------------------------------------------