1 ###############################################################################
2 # Copyright (c) 2000-2015 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 ###############################################################################
8 #Makefile to test HR30356
10 include $(TOPDIR
)/Makefile.regression
16 # ${MAKEPROG} has the same content as the built-in ${MAKE},
17 # except the special handling of ${MAKE} does not apply.
18 # If we used ${MAKE} in the rules below, 'make -n' would succeed once,
19 # then fail on every subsequent invocation until a 'make clean' is done.
25 ${TTCN3_DIR}/bin
/ttcn3_makefilegen
-Fgrc
-t
"controller/controller.tpd" >out
2>err || true
27 CheckErrorLog
: GenerateMakefile
28 if
[ `grep -c "Element 'WrongElement': This element is not expected." ./err` -ne
1 ]; \
30 if
[ `grep -c "ttcn3_makefilegen: error: TPD file .* is invalid according to schema " ./err` -ne
1 ]; \
32 if
[ `grep -c "ttcn3_makefilegen: error: Failed to process .*testport.tpd" ./err` -ne
1 ]; \
36 -rm -rf controller
/bin
43 .PHONY
: all clean distclean GenerateMakefile CheckErrorLog