Opened 8 years ago

Closed 8 years ago

#3882 closed defect (worksforme)

Test failure on i386 with GCC 6

Reported by: fabio Owned by:
Priority: Must Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description

I tried to build official Debian package, which builds fine everywhere, on Ubuntu 16.04 (has GCC 6). Test fails on i386, it's OK on amd64.

Build log: https://launchpadlibrarian.net/251690475/buildlog_ubuntu-xenial-i386.0ad_0.0.20-1~gd~x_BUILDING.txt.gz

Error:

Running cxxtest tests (299 tests).................................WARNING: Skipping component scripts tests (can't find binaries/data/mods/public/simulation/components/tests/setup.js)
......................................................................................................
In TestString_s::test_wprintf_strings:
/«PKGBUILDDIR»/source/lib/tests/test_secure_crt.h:319: Error: Expected (ret == expected_ret), found (2 != 3)
/«PKGBUILDDIR»/source/lib/tests/test_secure_crt.h:321: Error: Expected (std::wstring(dst) == std::wstring(expected_dst)), found (L"%s" != L"123")
...................................................................................................................................................................
Failed 1 and Skipped 0 of 299 tests

I opened a request to have a20 on Ubuntu 16.04, but this issue would prevent it.

Change History (1)

comment:1 by fabio, 8 years ago

Milestone: Alpha 21
Resolution: worksforme
Status: newclosed

It builds fine now, probably the build chain got a fix.

Note: See TracTickets for help on using tickets.