X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=run_tests;h=6ee6c551421bc0dea706ab62842660e7738451eb;hb=5e7268fb95cdc7e56fe24f324a710550ade3d851;hp=4a4e4b513fed60314a9c0508b53e59221c92d05c;hpb=7f20d23e406e81e6e7271d2621cb868d9fe63aae;p=tatoo.git diff --git a/run_tests b/run_tests index 4a4e4b5..6ee6c55 100755 --- a/run_tests +++ b/run_tests @@ -1,7 +1,10 @@ -./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' -echo "/n" -./test.native ./tests/docs/tiny.xml -f ./tests/queries/my.queries \ No newline at end of file +./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 +./test.native ./tests/docs/my.xml '/descendant::b/self::b' \ No newline at end of file