Changes in general/prog/mercurial.xml [3f2db3a6:c86d663]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/mercurial.xml
r3f2db3a6 rc86d663 7 7 <!ENTITY mercurial-download-http "https://www.mercurial-scm.org/release/mercurial-&mercurial-version;.tar.gz"> 8 8 <!ENTITY mercurial-download-ftp " "> 9 <!ENTITY mercurial-md5sum " 3d16503218c720fb017a19c9bad4f97d">10 <!ENTITY mercurial-size "7. 7MB">11 <!ENTITY mercurial-buildsize "7 9 MB (with docs, add 1.9GB for tests)">12 <!ENTITY mercurial-time "0.3 SBU (with docs, add 23SBU for tests using -j4)">9 <!ENTITY mercurial-md5sum "5d9b9515ba10c60de2a5ec10bee45807"> 10 <!ENTITY mercurial-size "7.8 MB"> 11 <!ENTITY mercurial-buildsize "77 MB (with docs, add 1.6 GB for tests)"> 12 <!ENTITY mercurial-time "0.3 SBU (with docs, add 18 SBU for tests using -j4)"> 13 13 ]> 14 14 … … 16 16 <?dbhtml filename="mercurial.html"?> 17 17 18 <sect1info> 19 <date>$Date$</date> 20 </sect1info> 18 21 19 22 <title>Mercurial-&mercurial-version;</title> … … 34 37 </para> 35 38 36 &lfs11 2_checked;39 &lfs110a_checked; 37 40 38 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 71 74 72 75 <bridgehead renderas="sect3">Mercurial Dependencies</bridgehead> 76 77 <!-- 78 <bridgehead renderas="sect4">Required</bridgehead> 79 <para role="required"> 80 <xref linkend="python2"/> 81 </para> 82 --> 73 83 74 84 <bridgehead renderas="sect4">Optional</bridgehead> … … 81 91 (runtime, to access ssh://... repositories), 82 92 <xref linkend="pygments"/>, 83 <xref linkend="rust"/> (see <filename>rust/README.rst</filename> and <filename>rust/rhg/README.md</filename>),93 <xref linkend="rust"/>, 84 94 <xref linkend="subversion"/> (with Python bindings), 85 95 <ulink url="https://launchpad.net/bzr">Bazaar</ulink>, 86 <ulink url="http s://www.nongnu.org/cvs/">CVS</ulink>,96 <ulink url="http://www.nongnu.org/cvs/">CVS</ulink>, 87 97 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>, 88 98 <ulink url="https://www.pyopenssl.org/en/stable/">pyOpenSSL</ulink>, and … … 101 111 102 112 <para> 113 First, force the build system to use Python 3: 114 </para> 115 116 <screen><userinput remap="pre">export PYTHON=python3</userinput></screen> 117 118 <para> 103 119 Build <application>Mercurial</application> by issuing the following 104 120 command: … … 114 130 115 131 <para> 116 To run the test suite, issue :132 To run the test suite, issue (15 tests are known to fail): 117 133 </para> 118 134 <screen remap="test"><userinput>TESTFLAGS="-j<replaceable><N></replaceable> --tmpdir tmp --blacklist blacklists/fsmonitor --blacklist blacklists/linux-vfat" make check</userinput></screen> … … 122 138 <para> 123 139 where <replaceable><N></replaceable> is an integer between one 124 and the number of ( processor X threads ), inclusive. Several tests 125 (about 20) fail because some error messages have changed in Python, or 126 some deprecation warnings are printed, that were not present when the 127 test was designed. 128 <!-- 129 # Ran 908 tests, 65 skipped, 4 failed. real 10m37.422s -bdubbs 6 Sep 22. 130 # Ran 881 tests, 102 skipped, 23 failed. -plabs 17 Nov 22. 131 --> 132 In order to 140 and the number of ( processor X threads ), inclusive. In order to 133 141 investigate any apparently failing tests, you may use the 134 142 <command>run-tests.py</command> script. To see the almost forty switches, … … 144 152 145 153 <para> 146 Normally, the previous failures will be reproducible. However, if154 Normally, the previous failures will be confirmed. However, if 147 155 you add the switch <option>--debug</option> before 148 <option>--tmpdir</option>, and run the tests again, some failures may 149 disappear, which is a problem with the test suite. If this happens, 150 there will be no more of these failures even if you do not pass the 151 --debug switch again. 152 </para> 153 154 <para> 155 An interesting switch is <option>--time</option>, which will generate a 156 table of all the executed tests and their respective start, end, user, 157 system and real times once the tests are complete. Note that these 156 <option>--tmpdir</option>, and run again, some failures are gone, which 157 seems to be a problem with the test suite. If this happens, normally, 158 from now on, there will be no more such failures whether you use the 159 debug switch or not. 160 There are 13 of 876 tests that are known to fail. 161 </para> 162 163 <para> 164 An interesting switch is <option>--time</option>, which will generate at 165 the end of the test suite execution, a table with all executed tests and 166 respective start, end, user, system and real times. Note that the 158 167 switches may be used with <command>make check</command> by including 159 168 them in the <envar>TESTFLAGS</envar> environment variable. … … 174 183 <screen role="root" 175 184 remap="doc"><userinput>make PREFIX=/usr install-doc</userinput></screen> 185 186 <para> 187 Next, clean up the environment variable set earlier: 188 </para> 189 190 <screen><userinput>unset PYTHON</userinput></screen> 176 191 177 192 <para> … … 231 246 The great majority of extensions are disabled by default. Run 232 247 <command>hg help extensions</command> if you need to enable any, e.g. 233 when investigating test failures. This will output a listof enabled234 and disabled extensions, a s well as more information such as how to235 enable or disable extensionsusing configuration files.248 when investigating test failures. You will obtain the lists of enabled 249 and disabled extensions, and more information, such as how to enable 250 or disable them using configuration files. 236 251 </para> 237 252 … … 269 284 </seg> 270 285 <seg> 271 /etc/mercurial, 272 /usr/lib/python&python3-majorver;/site-packages/hgdemandimport, 273 /usr/lib/python&python3-majorver;/site-packages/hgext, 274 /usr/lib/python&python3-majorver;/site-packages/hgext3rd, 275 /usr/lib/python&python3-majorver;/site-packages/mercurial, and 276 /usr/lib/python&python3-majorver;/site-packages/mercurial-&mercurial-version;-py&python3-majorver;.egg-info 286 /etc/mercurial and 287 /usr/lib/python&python3-majorver;/site-packages/{hgdemandimport,hgext,hgext3rd,mercurial} 277 288 </seg> 278 289 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.