Reword cmake test issues

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16672 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2015-11-18 05:29:40 +00:00
parent 6b241ec118
commit 7ed0e9d202

View File

@ -118,21 +118,19 @@
make</userinput></screen> make</userinput></screen>
<para> <para>
To test the results, issue: To test the results, issue: <command>bin/ctest
<command>bin/ctest -j<replaceable>&lt;N&gt;</replaceable> -O -j<replaceable>&lt;N&gt;</replaceable> -O
../cmake-&cmake-version;-test.log</command>, cmake-&cmake-version;-test.log</command>, where
where
<replaceable>&lt;N&gt;</replaceable> is an integer between 1 and the <replaceable>&lt;N&gt;</replaceable> is an integer between 1 and the
number of threads of your processor, inclusive. For some systems, it may number of system cores. For some systems, it may be necessary to run
be necessary to run the tests only for Qt4 using the tests only for Qt4 using <command>source setq4</command>, then
<command>source setq4</command>, then <command>export CXXFLAGS="-std=c++11"</command> before the
<command>export CXXFLAGS="-std=c++11"</command> (just before <command>./bootstrap ...</command>) command. If used, be sure to
<command>./bootstrap ...</command>) and remember to unset it after <command>unset CXXFLAGS</command> after the tests. All the
finishing, with problematic tests relate to the test procedures finding the correct
<command>unset CXXFLAGS</command>. Qt files. Five of 447 test are known to fail under some circumstances.
The worst case we have obtained in problematic systems, without those
extra commands, was 98% of 447 tests passed. <!-- Please, don't remove this comment, needed if tests start to fail
<!-- Please, don't remove this comment, needed if tests start to fail
again. If you want to investigate a problem with a given "problem1-test", again. If you want to investigate a problem with a given "problem1-test",
use <command>bin/ctest -R "problem1-test"</command> and, to omit it, use use <command>bin/ctest -R "problem1-test"</command> and, to omit it, use
<command>bin/ctest -E "problem1-test"</command>. These options can be <command>bin/ctest -E "problem1-test"</command>. These options can be