File: Makefile

package info (click to toggle)
lua-unit 3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,020 kB
  • sloc: xml: 852; python: 224; makefile: 153
file content (17 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# junitxml/Makefile
#

XMLLINT ?= xmllint
TEST_APACHE  = --noout --schema junit-apache-ant.xsd
TEST_JENKINS = --noout --schema junit-jenkins.xsd

validate-examples: validate-apache validate-jenkins

# This example file is the only one that satisfies the Apache schema
validate-apache: example-apache-ant.xml
	$(XMLLINT) $(TEST_APACHE) $<

# The Jenkins schema is more relaxed, and should apply to all .xml files
validate-jenkins: $(wildcard *.xml)
	for file in $^; do $(XMLLINT) $(TEST_JENKINS) $$file || exit 1; done