comment
[xmlmerge.git] / run_tests.sh
blobb260d4bd5c83fada75f2ddbe3d7c48eca75a5e21
1 #!/bin/sh
3 if which python
4 then
5 export PY=python
6 else
7 export PY=/c/python26/python.exe
8 fi
10 rm -f tests/*.xml.diff.html
12 cmd=( "$PY" convert_newlines.py )
13 echo "${cmd[@]}"
14 "${cmd[@]}"
16 for f in tests/${1}*.in.xml
18 base=${f%.in.xml}
19 cmd=( "$PY" xmlmerge.py -i "$f" -o "$base.out.xml" -r "$base.ref.xml" -d )
20 echo "${cmd[@]}"
21 "${cmd[@]}"
22 echo
23 done