If SBU measure include test time?

littlebat dashing.meng at gmail.com
Wed Jun 30 18:27:45 PDT 2010


On Wed, 30 Jun 2010 10:44:56 -0500
Bruce Dubbs <bruce.dubbs at gmail.com> wrote:

> littlebat wrote:
> > Hi,
> > 
> > I try to measure SBU when installing every package with command 
> > "time {}" and consider post my measure into
> > " http://www.linuxfromscratch.org/~sbu ". 
> > 
> > 
> > 1, If only those packages marked "SBU testsuite included" should
> > include the time spent on test into SBU measure? 
> > 
> > 2, Or, don't include the test time in SBU measure of any package? 
> > 
> > 3, Or, include every steps from the configuration, up to and
> > including the first install just like the description in page
> > "http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass1.html"?
> > 
> > If I measure the SBU of "
> > http://www.linuxfromscratch.org/lfs/view/stable/chapter05/tcl.html
> > ", using: 
> > 
> > The first method: 
> > time { ./configure --prefix=/tools && make && make install; }
> > 
> > The second:
> > time { ./configure --prefix=/tools && make && make install; }
> > 
> > The third:
> > time { ./configure --prefix=/tools && make && TZ=UTC make test &&
> > make \ install; }
> > 
> > Which method should I use?
> 
> I don't see a difference between 1 and 2.  In any case, I recommend 
> using times without tests in Chapert 5 and with tests in Chapter 6. 

I am learning LFS BOOK 6.6.

Do you mean every SBU measure include test time described in the head
of the page of the package in Chapter 6 which has a testsuite and don't
include test time in Chapter 5?

Have a glance at the sections in Chapter 6, I found there are some
packages which have a testsuite but without marked "testsuite included"
in the head of package section, such as: 6.25. Bison-2.4.1, 
6.33. Perl-5.10.1, 6.41. Gettext-0.17, etc... If the SBU number in
these packages don't include test time?

I sugguest adding a note in SBU section such as: the test time should
be included into SBU measure in Chapter 6 if the package has a testsuite
and shouldn't be included into SBU measure in Chapter 5 anyway.
Although it will not affect us to make a working LFS without the
changing on wording.

Until today, I haven't reached the jhalfs. But thanks your information
anyway.

--
littlebat



More information about the lfs-support mailing list