summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2014-04-27 10:24:57 -0700
committerDave Beckett <dave@dajobe.org>2014-04-27 10:24:57 -0700
commit4cfcc8ab9033a72bb1083f9b864c3039862947ac (patch)
tree202808c85c816e710291e06ede31f7c567580a5e /tests
parentba59bbac86f6266033f55fab25866c1b68c50c53 (diff)
downloadraptor-4cfcc8ab9033a72bb1083f9b864c3039862947ac.tar.gz
Fix failure test and update expected failures: +0294.xml +0349.xml
Diffstat (limited to 'tests')
-rw-r--r--tests/rdfa/Makefile.am7
1 files changed, 5 insertions, 2 deletions
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