X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=run_tests;h=6ee6c551421bc0dea706ab62842660e7738451eb;hb=88972192c044a40ee01b962d6976545bacd5d685;hp=5d5752d15bef6755980bab137d1f32c2d0a9dacb;hpb=43df500d1441955e3bc932be2e76318f759f7295;p=tatoo.git diff --git a/run_tests b/run_tests index 5d5752d..6ee6c55 100755 --- a/run_tests +++ b/run_tests @@ -4,5 +4,7 @@ echo "__________________________________________________________________________ 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 -./test.native ./tests/docs/my.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 +./test.native ./tests/docs/my.xml '/descendant::b/self::b' \ No newline at end of file