repo.or.cz
/
xmlmerge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
comment
[xmlmerge.git]
/
run_tests.sh
blob
b260d4bd5c83fada75f2ddbe3d7c48eca75a5e21
1
#!/bin/sh
2
3
if
which
python
4
then
5
export
PY
=
python
6
else
7
export
PY
=/
c
/
python26
/
python.exe
8
fi
9
10
rm
-f test
s
/*
.xml.
diff
.html
11
12
cmd
=(
"
$PY
"
convert_newlines.py
)
13
echo
"
${cmd[@]}
"
14
"
${cmd[@]}
"
15
16
for
f
in
test
s
/
${1}
*
.
in
.xml
17
do
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