| 1 |
############################################################################## |
| 2 |
# Copyright (c) 2000-2021 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 v2.0 |
| 5 |
# which accompanies this distribution, and is available at |
| 6 |
# https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html |
| 7 |
# |
| 8 |
# Contributors: |
| 9 |
# Balasko, Jeno |
| 10 |
# Raduly, Csaba |
| 11 |
# |
| 12 |
############################################################################## |
| 13 |
TOPDIR := ../../.. |
| 14 |
include $(TOPDIR)/Makefile.regression |
| 15 |
|
| 16 |
# |
| 17 |
# Makefilegen is supposed to fail |
| 18 |
# |
| 19 |
all: |
| 20 |
cd bin && \ |
| 21 |
if $(TTCN3_DIR)/bin/ttcn3_makefilegen -t ../counter.tpd > output.txt 2>&1 ; \ |
| 22 |
then echo makefilegen was supposed to fail!; exit 1; \ |
| 23 |
else if [ -h counter.ttcn ]; then echo symlink should not be created; exit 1; \ |
| 24 |
else echo OK; fi ; \ |
| 25 |
fi |
| 26 |
|
| 27 |
clean distclean: |
| 28 |
$(RM) bin/output.txt |