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