Re: [kvm-unit-tests PATCH] Makefile: add portable mode

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

 



On Mon, Jan 13, 2025 at 02:49:11PM +0000, Jon Kohler wrote:
> 
> 
> > On Jan 13, 2025, at 8:07 AM, Alexandru Elisei <alexandru.elisei@xxxxxxx> wrote:
> > 
> > !-------------------------------------------------------------------|
> >  CAUTION: External Email
> > 
> > |-------------------------------------------------------------------!
> > 
> > Hi,
> > 
> > On Sun, Jan 05, 2025 at 10:57:23AM -0700, Jon Kohler wrote:
> >> Add a 'portable' mode that packages all relevant flat files and helper
> >> scripts into a tarball named 'kut-portable.tar.gz'.
> >> 
> >> This mode is useful for compiling tests on one machine and running them
> >> on another without needing to clone the entire repository. It allows
> >> the runner scripts and unit test configurations to remain local to the
> >> machine under test.
> > 
> > Have you tried make standalone? You can then copy the tests directory, or even a
> > particular test.
> 
> Yes, standalone does not work when copying tests from one host to another. The
> use case for portable mode is to be able to compile within one environment and
> test in completely separate environment. I was not able to accomplish that with
> standalone mode by itself.
>

standalone scripts should be portable. If they're missing something, then
we should fix that. Also 'make install' should include everything
necessary, otherwise it should be fixed. Then, we could consider adding
another target like 'make package' which would do 'make install' to a
temporary directory and tar/gzip or whatever the installation into a
package.

Thanks,
drew




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux