From 093ee02461021a7ff142d092820f9822305302e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Fri, 15 Mar 2013 18:47:34 +0100 Subject: [PATCH 1/1] Modify the testing scripts. --- tools/do_tatoo.sh | 2 +- tools/gen_test_results.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/do_tatoo.sh b/tools/do_tatoo.sh index d1eea03..a8c95c9 100755 --- a/tools/do_tatoo.sh +++ b/tools/do_tatoo.sh @@ -24,7 +24,7 @@ then exit 1 fi - +echo "Testing version: $VERSION" mkdir -p "$RESULTS" cat "$QUERIES" | grep -v '^#' | while read qname q diff --git a/tools/gen_test_results.sh b/tools/gen_test_results.sh index 925c1ce..0710e81 100755 --- a/tools/gen_test_results.sh +++ b/tools/gen_test_results.sh @@ -17,11 +17,13 @@ do 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 case "$?" in "0") echo "ok" + ;; *) echo "failed" -- 2.17.1