On 18 May 2015 at 10:20, Vladimir Prus wrote:
Travis can run, per commit, http://ispras.linuxbase.org/index.php/ABI_compliance_checker which ensures that ABI and API have not broken for a given API version of a given library. Each API version lives in its own git branch.
That will only test ABI compatibility at best.
Nope, it can do API checks now as well. If it can compile with GCC 4.8, it works.
Unless you suggest that version 1 and version 2 of a library do not share any source code, it's quite possible that version 2 will break functionality in subtle ways, while retaining API/ABI, and there are not tools to check for that without testing.
I was actually intending to ship whole copies of AFIO for each version. It's only 18k lines each. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/