Changeset 2beaab8 for general/prog/mercurial.xml
- Timestamp:
- 02/03/2016 05:22:58 PM (8 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2b64864b
- Parents:
- 28320bf4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/mercurial.xml
r28320bf4 r2beaab8 99 99 <screen><userinput>make doc</userinput></screen> 100 100 101 <para>Running the test suite is optional. If some thest fails, it can be 102 disabled. To test the results in the subdiretory <filename 103 class="directory">tests/tmp</filename>, skipping failing tests, 101 <para>Running the test suite is optional. Tests which fail may be disabled, 102 adding each one to <filename>tests/blacklists/failed-tests</filename>. In 103 order to execute the test suite using the temporary directory <filename 104 class="directory">tests/tmp</filename> and skipping the failing tests, 104 105 issue:</para> 105 106 … … 110 111 test-gpg.t</literal> 111 112 EOF 113 112 114 rm -rf tests/tmp && 115 113 116 TESTFLAGS="-j<replaceable><N></replaceable> --tmpdir tmp --blacklist blacklists/failed-tests" \ 114 117 make check</userinput></screen> … … 122 125 before:</para> 123 126 124 <screen><userinput>pushd tests && 125 rm -rf tmp && 126 ./run-tests.py --debug --tmpdir tmp \ 127 test-convert-svn-source.t \ 128 test-convert-hg-svn.t \ 129 test-gpg.t && 127 <screen><userinput>pushd tests && 128 rm -rf tmp && 129 130 ./run-tests.py --debug --tmpdir tmp \ 131 test-convert-svn-source.t \ 132 test-convert-hg-svn.t \ 133 test-gpg.t && 130 134 popd</userinput></screen> 131 135 132 <para>Normally, failures will be repeated. However, if you add the switch 133 "--debug" before "--tmpdir", and run again, the failures are gone. Normally, 134 from now on, there will be no more failure whether you use the debug switch 135 or not. An interesting switch is "--time", which will generated at the end 136 of the test suite execution, a table with all executed tests and respective 137 start, end, user, system and real times. Notice that the switches may be 138 used with <command>make check</command>, in the 136 <para>Normally, the previous failures will be confirmed. However, if you add 137 the switch "--debug" before "--tmpdir", and run again, some failures are 138 gone, which seems to be a problem with the test suite. If this happens, 139 normally, from now on, there will be no more such failures whether you use 140 the debug switch or not.</para> 141 142 <para>An interesting switch is "--time", which will generated at the end of 143 the test suite execution, a table with all executed tests and respective 144 start, end, user, system and real times. Notice that the switches may be 145 used with <command>make check</command>, including them in the 139 146 <envar>TESTFLAGS</envar> environment variable.</para> 140 147 … … 154 161 <screen><userinput>cat >> ~/.hgrc << "EOF" 155 162 <literal>[ui] 156 username = <user_name> <your@mail></literal>163 username = <replaceable><user_name> <user@mail></replaceable></literal> 157 164 EOF</userinput></screen> 158 165 … … 185 192 </indexterm> 186 193 187 <para> 188 A great majority of extensions are disabled by default. Run <command>hg 189 help extensions</command> if you need to enable any, e.g. when 190 investigating test failures, and use one of the configuration files to 191 enable it. 192 </para> 193 194 <para> 195 If you have installed the <xref linkend="cacerts"/> and you want 196 <application>Mercurial</application> to use them, as the 197 <systemitem class="username">root</systemitem> user: 198 </para> 194 <para>The great majority of extensions are disabled by default. Run 195 <command>hg help extensions</command> if you need to enable any, e.g. 196 when investigating test failures. You will obtain the lists of enabled and 197 disabled extensions, and more information, such as how to enable or 198 disable them using configuration files.</para> 199 200 <para>If you have installed the <xref linkend="cacerts"/> and want 201 <application>Mercurial</application> to use them, as the <systemitem 202 class="username">root</systemitem> user, issue:</para> 199 203 200 204 <screen role="root"><userinput>install -v -d -m755 /etc/mercurial && 201 cat > /etc/mercurial/hgrc << "EOF"205 cat >> /etc/mercurial/hgrc << "EOF" 202 206 <literal>[web] 203 207 cacerts = /etc/ssl/ca-bundle.crt</literal>
Note:
See TracChangeset
for help on using the changeset viewer.