[PATCH 2/5] xfstests: Use libtool to install applications

Boris Ranto ranto.boris at gmail.com
Thu Apr 18 07:25:04 CDT 2013


Rich,

just as Eric guessed, I package the xfstests test suite (and that is also
why I need the DIST_ROOT variable functioning properly). Although I can
currently work around the problem  by doing something like

./configure
make
mkdir -p /var/lib/xfstets/{ltp,src}
make DIST_ROOT=$RPM_BUILD_ROOT install

it certainly is not the best solution to the problem. If the test suite is
completely independent from its location then also maybe this could work (I
did not try it, yet and I'm still not sure it is the best solution)

./configure --prefix=$RPM_BUILD_ROOT
make
make install

but if that is the case then it'd probably make sense to drop the whole
DIST_ROOT support from install-sh script to avoid confusion and update the
spec file in bulld/rpm/.

Regards,
Boris

(Rich, sorry for the duplicate message, I forgot to cc mailing list the
first time.)


On Wed, Apr 17, 2013 at 4:51 PM, Rich Johnston <rjohnston at sgi.com> wrote:

> Boris,
>
> Most people do not install xfstests, as it is not required to run the
> tests.  Is there a reason you need to install xfstests? It is designed to
> be run from the directory you did the git clone from.  Path is not critical
> so you could move it anywhere you wish.
>
> i.e.
> git clone git://oss.sgi.com/xfs/cmds/**xfstests<http://oss.sgi.com/xfs/cmds/xfstests>
> mv xfstests /new/path/new_xfsdirname
> cd /new/path/new_xfsdirname
> ./check -g auto
>
>
> --Rich
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20130418/6f67a546/attachment-0001.html>


More information about the xfs mailing list