X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=run_tests;h=4a2646908b202c377b667d0b145657a111ccb726;hb=43a31a961878f0d7b4c7bec792a753751abb3f13;hp=79d9c7b5cf32248c0c316dc3730805f4ea5862a4;hpb=5e6e859cd104ffdaa08bca3f1edeaa6f21edccf8;p=tatoo.git diff --git a/run_tests b/run_tests index 79d9c7b..4a26469 100755 --- a/run_tests +++ b/run_tests @@ -1,8 +1,9 @@ -./test.native ./tests/docs/tiny.xml '/child::site/child::regions' +./test.native ./tests/docs/my.xml '/child::site/child::regions' echo "________________________________________________________________________________" -./test.native ./tests/docs/tiny.xml -f ./tests/queries/Treebank.xml.queries +./test.native ./tests/docs/my.xml -f ./tests/queries/Treebank.xml.queries echo "________________________________________________________________________________" -./test.native ./tests/docs/tiny.xml '/descendant::listitem[not(descendant::keyword/child::emph)]/descendant::parlist' +./test.native ./tests/docs/my.xml '/descendant::listitem[not(descendant::keyword/child::emph)]/descendant::parlist' echo "________________________________________________________________________________" -./test.native ./tests/docs/tiny.xml -f ./tests/queries/my.queries -./test.native ./tests/docs/tiny.xml -f ./tests/queries/my.queries 2> tests/results/my.result \ No newline at end of file +./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