From 4cfcc8ab9033a72bb1083f9b864c3039862947ac Mon Sep 17 00:00:00 2001 From: Dave Beckett Date: Sun, 27 Apr 2014 10:24:57 -0700 Subject: Fix failure test and update expected failures: +0294.xml +0349.xml --- tests/rdfa/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/rdfa/Makefile.am b/tests/rdfa/Makefile.am index 038961d5..b8060837 100644 --- a/tests/rdfa/Makefile.am +++ b/tests/rdfa/Makefile.am @@ -95,9 +95,10 @@ ALL_TEST_FILES= \ # Expected test failures: # 0202.xml - @xml:base support in SVG # 0203.xml - @xml:base in non-root in SVG +# 0294.xml - property="xml:" generates a triple but shouldn't # 0304.xml - embedded rdf/xml in SVG # (Add a space to the start of this string) -EXPECTED_FAILURES=" 0202.xml 0203.xml" +EXPECTED_FAILURES=" 0202.xml 0203.xml 0294.xml 0304.xml" EXTRA_DIST = CMakeLists.txt $(ALL_TEST_FILES) @@ -156,10 +157,12 @@ check-rdfa: build-rdfdiff build-rapper $(check_rdfa_deps) done; \ printf 'ENDIF(RAPTOR_PARSER_RDFA)\n\n' >>CMakeTests.txt; \ if test "X$$failures" != X; then \ - echo "$$failure_count tests FAILED: $$failures"; \ if test "$$failures" = $(EXPECTED_FAILURES); then \ echo "Ignoring expected failures"; \ result=0; \ + else \ + echo "FAILED: Got $$failures but expected $(EXPECTED_FAILURES)"; \ + result=1; \ fi; \ fi; \ set -e; exit $$result -- cgit v1.2.1