[email protected] writes: > 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?
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. > 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? >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. -- Regards, Feri.

