Last sync 2016.04.01
[deliverable/titan.core.git] / regression_test / XML / xsdConverter / HN21072 / Makefile
1 ##############################################################################
2 # Copyright (c) 2000-2016 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 # Contributors:
9 # Balasko, Jeno
10 # Raduly, Csaba
11 #
12 ##############################################################################
13 TOPDIR := ../../..
14 include $(TOPDIR)/Makefile.regression
15
16 TARGET := HN21072Test$(EXESUFFIX)
17
18 XML_SCHEMAS := W3-WSDL-chop.xsd
19
20 GENERATED_TTCN3_MODULES := schemas_xmlsoap_org_wsdl.ttcn \
21 XSD.ttcn UsefulTtcn3Types.ttcn
22
23 USER_TTCN3_MODULES := HN21072Test.ttcn
24
25 include ../Makefile.converter
26
27 #
28 # Add your rules here if necessary...
29 #
30
31 XMLLINT := $(shell which xmllint 2>/dev/null)
32 ifeq ($(firstword $(XMLLINT)),no)
33 # stupid /bin/which on Solaris writes errors to stdout instead of stderr
34 XMLLINT :=
35 endif
36
37 run: $(TARGET)
38 ./$^
39 ifneq ($(XMLLINT),) # xmllint found in path
40 perl $(ABS_SRC)/log2xml.pl $(TARGET:.exe=).log > result.xml
41 xmllint --noout --schema $(ABS_SRC)/W3-WSDL-chop.xsd result.xml
42 endif
43
This page took 0.031243 seconds and 5 git commands to generate.