|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH RFC 06/14] Introduce ts-xtf-build [and 1 more messages]
Wei Liu writes ("[OSSTEST PATCH RFC 06/14] Introduce ts-xtf-build"):
> > > +sub stash () {
> > > + built_stash($ho, $builddir, "xtfdist", "xtfdist");
> > > +}
> >
> > Can you post a tar zvvtf of a sample xtfdist tarball ?
>
> drwxr-xr-x osstest/osstest 0 2016-08-04 08:30 home/
> drwxr-xr-x osstest/osstest 0 2016-08-04 08:30 home/osstest/
...
> -rw-r--r-- osstest/osstest 563 2016-08-04 08:30
> home/osstest/build.66916.build-amd64-xtf/xtf/tests/xsa-168/test-hvm64-xsa-168.cfg
This is quite odd.
AFAICT this means that the original path of that file, as generated by
the invocation of `make install DESTDIR=...', was:
/home/osstest/build.66916/build-amd64-xtf/xtf/xtfdist/home/osstest/build.66916/build-amd64-xtf/xtf/xtfdist/tests/xsa-168/test-hvm64-xsa-168.cfg
This seems perverse. Read on...
Wei Liu writes ("Re: [OSSTEST PATCH RFC 08/14] Introduce ts-xtf-install"):
> On Thu, Aug 04, 2016 at 12:54:41PM +0100, Ian Jackson wrote:
> > Surely the extracting job should just put it wherever it wants.
>
> No, it can't.
>
> It has to be in the location specified during build because there are
> hard-coded paths inside test case config files.
That's a bit sad. But, fine.
But, in that case it is not possible to coinstall multiple different
versions of xtf.
The ability to coinstall multiple different xtfs was my reason for
suggesting that the xtfdist should be unpacked into a job-specific
subdirectory of /home/osstest. Obviously that would have to be a
directory specific to the _test job_, not the build job.
As I say, if xtfdists aren't portable to different install locations,
then this is not possible and there is no reason not to use a fixed
install location.
That is:
Build host:
cd /home/osstest/build.66916.build-amd64-xtf/xtf
make xtfdir=/home/xtf
make xtfdir=/home/xtf DESTDIR=`pwd`/xtfdist
Resulting in, on build host, for example:
/home/osstest/build.66916.build-amd64-xtf/xtf/xtfdist/home/xtf/tests/xsa-168/test-hvm64-xsa-168.cfg
Note that this does not actually create anything in /home/xtf on the
build host. So different builds do not interfere with each other.
Test host, for example:
/home/xtf/tests/xsa-168/test-hvm64-xsa-168.cfg
Then there is no need for the xtfdir runvar, because the answer is
always the same.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |