1 ###############################################################################
2 # Copyright (c) 2000-2014 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
9 include $(TOPDIR
)/Makefile.regression
15 # ${MAKEPROG} has the same content as the built-in ${MAKE},
16 # except the special handling of ${MAKE} does not apply.
17 # If we used ${MAKE} in the rules below, 'make -n' would succeed once,
18 # then fail on every subsequent invocation until a 'make clean' is done.
24 mkdir
-p HelloTpd
/bin
&& cd HelloTpd
/bin \
25 && $(TTCN3_DIR
)/bin
/ttcn3_makefilegen
-f
$(MFGEN_FLAGS
) $(COVERAGE_FLAG
) \
26 -t ..
/HelloTpd.tpd
2>&1 | tee ..
/..
/output
28 CheckHelloTpd
: BuildHelloTpd
29 if
[ `grep -c "error: The active build configuration named 'notExistingBuildConfig' does not exist" ./output` -ne
1 ] \
30 ||
[ `grep -c "error: Failed to process .*../Hello000/Hello000.tpd" ./output` -ne
1 ]; \
34 -rm -rf HelloTpd
/bin output
39 .PHONY
: all clean distclean BuildHelloTpd CheckHelloTpd