Skip to content

The last line of test_c14n.pl is missing a comma (plus ... is plunit underreporting?) #39

Description

@dtonhofer
test('3.2.4.2.3 Test case c14n11/xmlbase-c14n11spec-102', [blocked('Cannot express [self::a or ancestor-or-self::d] using builtin xpath')]):-
        c14n_test('testdata/xmlbase-c14n11spec3-input.xml', unknown 'xmlbase-c14n11spec3-102.output').

There should be one after unknown.

Not so bad, you say. Especially as the test is marked "blocked".

However, running the SWI-Prolog test suite does not generate an error here (100% tests passed), although the LastTest.log indeed says:

ERROR: swipl-devel_original/packages/sgml/test_c14n.pl:196:67: Syntax error: Operator expected

(The weirdest thing is that I can't remember seeing this error in the log before ... maybe I'm just getting old).

Additionally, we have the follwoing in the log:

% PL-Unit: c14n ....
ERROR: SGML2PL(xmlns): swipl-devel_original/packages/sgml/testdata/xmlspace-input.xml:4: xml:space-mode "true" does not exist
.
ERROR: SGML2PL(xmlns): swipl-devel_original/packages/sgml/testdata/xmlspace-input.xml:4: xml:space-mode "true" does not exist
.
ERROR: SGML2PL(xmlns): swipl-devel_original/packages/sgml/testdata/xmlspace-input.xml:4: xml:space-mode "true" does not exist
.
ERROR: SGML2PL(xmlns): swipl-devel_original/packages/sgml/testdata/xmlspace-input.xml:4: xml:space-mode "true" does not exist
.......... done

In spite of that:

100% tests passed, 0 tests failed out of 69

Should this really be reported as "100% passed"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions