X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=run_tests;h=4a2646908b202c377b667d0b145657a111ccb726;hp=13f44fef9683b16e8a15fa13b741aae225f10b11;hb=d0dc6fbd661c7a79a2d8f875a204f587e6a5162d;hpb=83c90cb5eeebfffa05d0383430eb80e7905b46a0 diff --git a/run_tests b/run_tests index 13f44fe..4a26469 100755 --- a/run_tests +++ b/run_tests @@ -1,8 +1,9 @@ -#./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 '/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 -#./test.native ./tests/docs/my.xml -f ./tests/queries/my.queries 2> tests/results/my.result \ No newline at end of file +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