xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Stable ABI checking (take 2)
@ 2021-02-22 14:03 Andrew Cooper
  2021-02-22 14:37 ` Jan Beulich
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2021-02-22 14:03 UTC (permalink / raw)
  To: Xen-devel
  Cc: Ian Jackson, George Dunlap, Jan Beulich, Julien Grall,
	Stefano Stabellini, Wei Liu, Juergen Gross

Hello,

Staging is now capable of writing out an ABI description when the
appropriate tool (abi-dumper) is available.

We now have to possible courses of action for ABI checking in builds.

1) Publish the ABI descriptions on xenbits, update all downstream test
systems to invoke abi-compliance-checker manually.

2) Commit/update the ABI descriptions when RELEASE-$X.$Y.0 is tagged,
update the main build to use abi-compliance-checker when available.


Pros/Cons:

The ABI descriptions claim to be sensitive to toolchain in use.  I don't
know how true this is in practice.

Publishing on xenbits involves obtaining even more misc artefacts during
the build, which is going to be firm -2 from downstreams.

Committing the ABI descriptions lets abi checking work in developer
builds (with suitable tools installed).  It also means we get checking
"for free" in Gitlab CI and OSSTest without custom logic.


Thoughts on which approach is better?  I'm leaning in favour of option 2
because it allows for consumption by developers and test systems.

If we do go with route 2, I was thinking of adding a `make check`
hierarchy.  Longer term, this can be used to queue up other unit tests
which can be run from within the build tree.

~Andrew


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-22 18:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 14:03 Stable ABI checking (take 2) Andrew Cooper
2021-02-22 14:37 ` Jan Beulich
2021-02-22 16:00   ` Andrew Cooper
2021-02-22 16:25     ` Jan Beulich
2021-02-22 17:21     ` Ian Jackson
2021-02-22 18:09       ` Andrew Cooper
2021-02-22 18:25         ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).