aboutsummaryrefslogtreecommitdiff
path: root/test/check.sh
blob: e205eeb37a182443d70dae855af92462b9b32a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

for testcase in *;
do
	if [ -d $testcase ] &&  [ "$testcase" != "common" ]
	then
		echo $testcase

		cd $testcase
		rm -f actual.xml 

		./../../build/ixslt --transformation transformation.xsl --target actual.xml --include ../common/
		diff -u reference.xml actual.xml

		if [ $? = 0 ]
		then
			echo "passed."
		else
			echo "failed."
		fi

		cd ..
	fi
done