#919724 cxxtest: git snapshot breaks compatibility with official release

#919724#5
Date:
2019-01-18 22:51:02 UTC
From:
To:
Hi,

I could not find information about this behavior change.

cxxtest has historically a limitation with
TS_ASSERT_EQUALS/TS_ASSERT_DIFFERS, which validates the following test:

    char str[] = "toto";
    char* str2 = strdup(str);
    TS_ASSERT_EQUALS(str, str2);
    TS_ASSERT_DIFFERS(str, str2);

With the new Git snapshot, this test now does not pass.
Whether this is a sensible result or not, this breaks existing
testsuites, AFAICS without notice from the package or the maintainer
(the ChangeLog is still from 4.4), nor a way to determine the cxxtest
variant (release/snapshot) installed by the end user.

Could you document the reason why Debian ships a Git snapshot rather
than an official release?

In addition, do you think it is better to revert the Debian version,
document this behavior change, or check with upstream how to implement
an upgrade plan?

Cheers!
Sylvain

#919724#10
Date:
2023-02-25 21:45:54 UTC
From:
To:
beuc@debian.org writes:

Hi,

I'm not the maintainer of cxxtest, but I guess one reason for shipping
this Git snapshot is that the above bug is fixed here, see
https://github.com/CxxTest/cxxtest/issues/122 and the corresponding pull
request: https://github.com/CxxTest/cxxtest/pull/123.  Unfortunately
there was no release (or any activity) since that merge.

From the linked issue it seems pretty clear that upstream considers the
EQUALS/DIFFERS inconsistency a bug, so test suites depending on it
should be fixed.  At least that's my interpretation.