diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-11-09 00:06:29 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-11-09 00:07:13 +0800 |
commit | 289441f76703e56b9c8188b9317b3df25f0ef5dc (patch) | |
tree | bbb66093a764042e1f2d62215e0e20a638af853d | |
parent | d6cda5163a2b191bd1f67b49f251a5eb1157701a (diff) |
cmake: Simplify test instruction
-rw-r--r-- | general/prog/cmake.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/general/prog/cmake.xml b/general/prog/cmake.xml index 52dbc9424e..b6e8b908a0 100644 --- a/general/prog/cmake.xml +++ b/general/prog/cmake.xml @@ -136,13 +136,14 @@ make</userinput></screen> <para> - To test the results, issue: <command>LC_ALL=en_US.UTF-8 bin/ctest - -j<replaceable><N></replaceable> -O - cmake-&cmake-version;-test.log</command>, where - <replaceable><N></replaceable> is an integer between 1 and the - number of system cores. Setting <envar>LC_ALL</envar> is needed to + To test the results, issue: <command>bin/ctest + -j<replaceable>$(nproc)</replaceable></command>. Replace + <replaceable>$(nproc)</replaceable> with an integer between 1 and the + number of system logical cores if you don't want to use all. + <!-- Setting <envar>LC_ALL</envar> is needed to prevent some test failures when some of the locale variables are - set to non English locales. + set to non English locales. (I no longer see failures with zh_CN.UTF-8 + locale with 3.30.x and 3.31.0.) --> <!-- One test, RunCMake.FindBoost, is known to fail. Now cmake-3.27.0. All tests pass. |