Changes between Version 35 and Version 36 of AdvancedInstall


Ignore:
Timestamp:
2011-01-29T18:22:36Z (14 years ago)
Author:
davidsarah
Comment:

add Test section (and renumber later sections)

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedInstall

    v35 v36  
    1616<a href=#point7>7. Installing From A Source Tree</a><br>
    1717<a href=#point7.1>&nbsp;&nbsp;7.1. Creating a binary distribution From A Source Tree</a><br>
    18 <a href=#point8>8. Platform-specific Notes</a><br>
    19 <a href=#point8.1>&nbsp;&nbsp;8.1. Debian/Ubuntu</a><br>
    20 <a href=#point8.2>&nbsp;&nbsp;8.2. CentOS 5.4</a><br>
    21 <a href=#point8.2.1>&nbsp;&nbsp;&nbsp;&nbsp;8.2.1 Dependencies</a><br>
    22 <a href=#point8.3>&nbsp;&nbsp;8.3. MacOS</a><br>
    23 <a href=#point8.4>&nbsp;&nbsp;8.4. Windows</a><br>
    24 <a href=#point8.4.1>&nbsp;&nbsp;&nbsp;&nbsp;8.4.1. What if that doesn't work?</a><br>
    25 <a href=#point8.4.2>&nbsp;&nbsp;&nbsp;&nbsp;8.4.2. How do I make it run as a Windows service?</a><br>
    26 <a href=#point8.4.3>&nbsp;&nbsp;&nbsp;&nbsp;8.4.3. How do I make it run under a different user account?</a><br>
     18<a href=#point8>8. Testing</a><br>
     19<a href=#point9>9. Platform-specific Notes</a><br>
     20<a href=#point9.1>&nbsp;&nbsp;9.1. Debian/Ubuntu</a><br>
     21<a href=#point9.2>&nbsp;&nbsp;9.2. CentOS 5.4</a><br>
     22<a href=#point9.2.1>&nbsp;&nbsp;&nbsp;&nbsp;9.2.1 Dependencies</a><br>
     23<a href=#point9.3>&nbsp;&nbsp;9.3. MacOS</a><br>
     24<a href=#point9.4>&nbsp;&nbsp;9.4. Windows</a><br>
     25<a href=#point9.4.1>&nbsp;&nbsp;&nbsp;&nbsp;9.4.1. What if that doesn't work?</a><br>
     26<a href=#point9.4.2>&nbsp;&nbsp;&nbsp;&nbsp;9.4.2. How do I make it run as a Windows service?</a><br>
     27<a href=#point9.4.3>&nbsp;&nbsp;&nbsp;&nbsp;9.4.3. How do I make it run under a different user account?</a><br>
    2728}}}
    2829
     
    220221group may be able to help with general questions about bb-freeze.
    221222
    222 [=#point8]
     223[=#point9]
     224== Testing ==
     225
     226Use {{{python setup.py test}}} to run the whole test suite. This will rebuild
     227if necessary.
     228
     229There are a few other supported ways to run tests:
     230* {{{bin/tahoe debug trial}}}. This will ''not'' rebuild (if a build was needed,
     231  some tests may fail). It accepts all of the same options as Twisted's {{{trial}}}
     232  script; use {{{bin/tahoe debug trial --help}}} to see help for these.
     233* {{{python setup.py trial}}} does the same thing as {{{bin/tahoe debug trial}}},
     234  although it doesn't support all of the {{{trial}}} options (and the test suite
     235  must be specified using {{{-s}}}). It's supported mainly for backward
     236  compatibility.
     237* {{{make test}}} does the same thing as {{{python setup.py test}}}.
     238* {{{make quicktest}}} does the same thing as {{{bin/tahoe debug trial}}}.
     239
     240Running {{{trial}}} directly is not supported because it will not necessarily
     241put the correct libraries (the same ones that would be used by {{{bin/tahoe}}})
     242on Python's {{{sys.path}}}.
     243
     244To run a subset of the tests after making a source change that does not require
     245a rebuild, {{{bin/tahoe debug trial <testsuite>}}} is the quickest option.
     246
     247
     248[=#point9]
    223249== Platform-specific Notes ==
    224250
    225 [=#point8.1]
     251[=#point9.1]
    226252=== !Debian/Ubuntu ===
    227253
     
    231257details.
    232258
    233 [=#point8.2]
     259[=#point9.2]
    234260=== CentOS 5.4 ===
    235261
     
    238264yum install gcc python-devel sqlite-devel gcc-c++ openssl-devel
    239265
    240 [=#point8.2.1]
     266[=#point9.2.1]
    241267{{{
    242268#!html
     
    245271cpp glibc-devel glibc-headers kernel-headers libgomp libstdc++-devel e2fsprogs-devel  keyutils-libs-devel krb5-devel libselinux-devel libsepol-devel zlib-devel
    246272
    247 [=#point8.3]
     273[=#point9.3]
    248274=== MacOS ===
    249275
     
    251277Note that Xcode is quite large (2.5GB) so plan accordingly if you will need to download it.
    252278
    253 [=#point8.4]
     279[=#point9.4]
    254280=== Windows ===
    255281
     
    275301{{{C:\Python26\python setup.py install}}} can also optionally be used as on other platforms.
    276302
    277 [=#point8.4.1]
     303[=#point9.4.1]
    278304==== What if that doesn't work? ====
    279305
     
    295321After installing the compilers, repeat the above instructions from step 4 (using a new command prompt to make sure that the environment variable setting has taken effect).
    296322
    297 [=#point8.4.2]
     323[=#point9.4.2]
    298324==== How do I make it run as a Windows service? ====
    299325
    300326http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html
    301327
    302 [=#point8.4.3]
     328[=#point9.4.3]
    303329==== How do I make it run under a different user account? ====
    304330