Re: [PATCH testsuite v2 2/2] travis: run the full testsuite on a Fedora VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/11/20 4:45 AM, Ondrej Mosnacek wrote:

This patch removes the old hackery to test-build the testsuite and
replaces it with scripts that run the full testsuite on a Fedora VM. The
scripts are based on William Roberts' work on SELinux userspace CI [1],
which does a similar thing.

This patch enables testing on Fedora 32 (the image ships with kernel
5.6.6) and Rawhide nightly images (with kernels close to mainline).
Switching to other versions can be controlled via CI environment
variables.

One downside is that with this patch we lose the test build against
refpolicy, but it shouldn't be too hard to add testing on a Debian VM
with refpolicy later on.

[1] https://github.com/SELinuxProject/selinux/commit/562d6d15272420542bf65da328bc5300219fce76

Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx>
---

Thanks, this is great.  One more question: when we added the VM-based testing to the selinux userspace travis, we nonetheless kept the old limited build / unit test run on the Ubuntu image as well to provide some degree of sanity checking there (plus it is much faster and possibly less prone to intermittent breakage).  Is there a reason to drop the "old hackery" entirely or should we retain it too?  Up to you.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux