Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
These tests were intended to show how one can compile a binary as part of the test, run it and look at what it produces. But, these tests produce output that is very dependent on the environment. There are already conditionals for different OSs, and newer gcc/glibc will require yet another conditional.
On gcc 11.2.1 and glibc 2.34, the error message produced is:
free(): double free detected in tcache 2
IMO those provide little value as example tests, observing the actual Avocado use cases, and are too dependent on environment, so they better go.
This is a backport from b14a147a31dec07ad34b087d1a7dce6c54b5a98e.
These tests were intended to show how one can compile a binary as part of the test, run it and look at what it produces. But, these tests produce output that is very dependent on the environment. There are already conditionals for different OSs, and newer gcc/glibc will require yet another conditional.
On gcc 11.2.1 and glibc 2.34, the error message produced is:
free(): double free detected in tcache 2
IMO those provide little value as example tests, observing the actual Avocado use cases, and are too dependent on environment, so they better go.
This is a backport from b14a147a31dec07ad34b087d1a7dce6c54b5a98e.