Package: src:appstream
Version: 0.9.8-2
Severity: serious
Tags: sid stretch

See https://buildd.debian.org/status/package.php?p=appstream

   dh_auto_test -a
        make -j1 test ARGS\+=-j1
make[1]: Entering directory '/«PKGBUILDDIR»/obj-i686-linux-gnu'
Running tests...
/usr/bin/ctest --force-new-ctest-process -j1
Test project /«PKGBUILDDIR»/obj-i686-linux-gnu
    Start 1: test-basic
1/5 Test #1: test-basic .......................   Passed    0.01 sec
    Start 2: test-xml
2/5 Test #2: test-xml .........................***Exception: Other  0.01 sec
/XML/Screenshots: **
(/«PKGBUILDDIR»/obj-i686-linux-gnu/tests/as-test-xmldata:3242): DEBUG:
[DesktopApp::firefox.desktop]> name: Firefox | package: firefox-bin | summary:
Web browser
** (/«PKGBUILDDIR»/obj-i686-linux-gnu/tests/as-test-xmldata:3242): DEBUG:
Firefox displaying a kitten
OK
/XML/LegacyData: **
(/«PKGBUILDDIR»/obj-i686-linux-gnu/tests/as-test-xmldata:3242): DEBUG: Parsing
legacy AppStream metadata file.
OK
/XML/Read/ParserLocale: OK
/XML/Read/Languages: OK
/XML/Write/WriterLocale: OK
/XML/Write/Description: **
ERROR:/«PKGBUILDDIR»/tests/test-xmldata.c:387:test_appstream_write_description:
assertion failed (tmp == EXPECTED_XML_DISTRO): ("<?xml version=\"1.0\"
encoding=\"utf-8\"?>\n<components version=\"0.8\">\n  <component>\n
<id>org.example.Test</id>\n    <name>Test</name>\n    <summary>Just a
unittest.</summary>\n    <summary xml:lang=\"de\">Nur ein Unittest.</summary>\n
  <description>\n      <p>First paragraph</p>\n      <ol>\n
<li>One</li>\n        <li>Two</li>\n        <li>Three is &gt; 2 &amp; 1</li>\n
   </ol>\n      <p>Paragraph2</p>\n      <ul>\n        <li>First</li>\n
<li>Second</li>\n      </ul>\n      <p>Paragraph3 &amp; the last one</p>\n
</description>\n    <description xml:lang=\"de\">\n      <p>First
paragraph</p>\n      <ol>\n        <li>One</li>\n        <li>Two</li>\n
<li>Three</li>\n      </ol>\n      <ul>\n        <li>First</li>\n
<li>Second</li>\n      </ul>\n      <p>Paragraph2</p>\n    </description>\n
<icon type=\"cached\" width=\"20\" height=\"20\">test_writetest.png</icon>\n
<icon type=\"cached\" width=\"40\" height=\"40\">test_writetest.png</icon>\n
<icon type=\"stock\">xml-writetest</icon>\n    <releases>\n      <release
version=\"1.0\" timestamp=\"665639118235770464\"/>\n    </releases>\n
</component>\n</components>\n" == "<?xml version=\"1.0\"
encoding=\"utf-8\"?>\n<components version=\"0.8\">\n  <component>\n
<id>org.example.Test</id>\n    <name>Test</name>\n    <summary>Just a
unittest.</summary>\n    <summary xml:lang=\"de\">Nur ein Unittest.</summary>\n
  <description>\n      <p>First paragraph</p>\n      <ol>\n
<li>One</li>\n        <li>Two</li>\n        <li>Three is &gt; 2 &amp; 1</li>\n
   </ol>\n      <p>Paragraph2</p>\n      <ul>\n        <li>First</li>\n
<li>Second</li>\n      </ul>\n      <p>Paragraph3 &amp; the last one</p>\n
</description>\n    <description xml:lang=\"de\">\n      <p>First
paragraph</p>\n      <ol>\n        <li>One</li>\n        <li>Two</li>\n
<li>Three</li>\n      </ol>\n      <ul>\n        <li>First</li>\n
<li>Second</li>\n      </ul>\n      <p>Paragraph2</p>\n    </description>\n
<icon type=\"cached\" width=\"20\" height=\"20\">test_writetest.png</icon>\n
<icon type=\"cached\" width=\"40\" height=\"40\">test_writetest.png</icon>\n
<icon type=\"stock\">xml-writetest</icon>\n    <releases>\n      <release
version=\"1.0\" timestamp=\"1460412000\"/>\n    </releases>\n
</component>\n</components>\n")

    Start 3: test-yaml
3/5 Test #3: test-yaml ........................   Passed    0.02 sec
    Start 4: test-pool
4/5 Test #4: test-pool ........................   Passed    0.04 sec
    Start 5: qt-cache-read-test
5/5 Test #5: qt-cache-read-test ...............   Passed    0.04 sec

80% tests passed, 1 tests failed out of 5

Total Test time (real) =   0.13 sec

The following tests FAILED:
          2 - test-xml (OTHER_FAULT)
Errors while running CTest
Makefile:130: recipe for target 'test' failed
make[1]: *** [test] Error 8

Reply via email to