Commentaries
[tatoo.git] / run_tests
index d6fba68..4a26469 100755 (executable)
--- a/run_tests
+++ b/run_tests
@@ -1,5 +1,9 @@
-./test.native ./tests/docs/tiny.xml '/child::site/child::regions'
-echo "\n"
-./test.native ./tests/docs/tiny.xml -f ./tests/queries/Treebank.xml.queries
-echo "\n"
-./test.native ./tests/docs/tiny.xml '/descendant::listitem[not(descendant::keyword/child::emph)]/descendant::parlist'
+./test.native ./tests/docs/my.xml '/child::site/child::regions'
+echo "________________________________________________________________________________"
+./test.native ./tests/docs/my.xml -f ./tests/queries/Treebank.xml.queries
+echo "________________________________________________________________________________"
+./test.native ./tests/docs/my.xml '/descendant::listitem[not(descendant::keyword/child::emph)]/descendant::parlist'
+echo "________________________________________________________________________________"
+./test.native ./tests/docs/my.xml -f ./tests/queries/my.queries.old
+echo "Expected answer: 43 (the b from the second big sub-tree)."
+./test.native ./tests/docs/my.xml -f ./tests/queries/my.queries.old 2> tests/results/my.result
\ No newline at end of file