projects
/
tatoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aace0fd
)
Rework the test script.
author
Kim Nguyễn
<kn@lri.fr>
Fri, 15 Mar 2013 21:25:55 +0000
(22:25 +0100)
committer
Kim Nguyễn
<kn@lri.fr>
Fri, 15 Mar 2013 22:42:03 +0000
(23:42 +0100)
.gitignore
patch
|
blob
|
history
tools/gen_test_results.sh
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index
b2e50f4
..
c365247
100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-1,8
+1,8
@@
_build
*.native
*.byte
-tests/*.results/*
+tests/*.results/*
_tatoo*
*.class
tests/trace/*.html
tests/trace/*.dot
-tests/trace/*.svg
\ No newline at end of file
+tests/trace/*.svg
diff --git
a/tools/gen_test_results.sh
b/tools/gen_test_results.sh
index
0710e81
..
c837618
100755
(executable)
--- a/
tools/gen_test_results.sh
+++ b/
tools/gen_test_results.sh
@@
-13,17
+13,18
@@
do
for p in $PROGS
do
echo "$p":
- cat "$doc".results/"$qname"_"$p".log | grep --color=never
time
+ cat "$doc".results/"$qname"_"$p".log | grep --color=never
'INFO\|time'
N="$N_$p"
D="$D $doc".results/"$qname"_"$p".xml
done
echo -n "Diff ... "
- ./xml_diff.native $D > "$doc".results/"$qname""$N".diff 2>&1
+ DIFFILE="$doc".results/"$qname"_"$N".diff
+ ./xml_diff.native $D > "$DIFFILE" 2>&1
case "$?" in
"0")
echo "ok"
-
+ rm -f "$DIFFILE"
;;
*)
echo "failed"