On 12/04/2018 01:44 PM, Ken Moffat via blfs-dev wrote:
Looking at the diff from nss-3.40 to 3.40.1 I noted added test
progs.  But we say: This package does not come with a test suite.

So, after digging around, I read the page at
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Sources_Building_Testing

Lots of caveats about setting $HOST and $DOMSUF (localhost and
localdomain for this desktop box), then

cd nss/tests
./all.sh
# add 2>&1 | tee testlog

Lots of messages about things not working, but in particular it was
looking in Linux4.19_x86_cc_glibc_PTH_DBG.OBJ/ when the build was
for Linux..._OPT.OBJ.

Removing BUILD_OPT and rebuilding (I now see that BUILD_OPT=0 would
do and is the default) was not a lot different, most or all the
progs still misisng.

I'm currently using the combined 3.40+nspr-4.20 tarball.  In that,
the 'nss' and 'nspr' directories are alongside each other, and the
command
  make -C nss nss_build_all USE_64=1
apparently builds both.

I've now done cd nss/tests
  ./all.sh | tee testlog
is still running, creating a vast amount of output.

At this point (for old 3.40.0) it looks as if the tests might work.
So, I'm now asking: has anyone managed to run tests on *stand-alone*
nss ?

I have not looked at 3.40.1 yet, but it sounds like the tests are more trouble than they are worth.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to