Ignore:
Timestamp:
06/08/2024 08:46:25 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
b03c011
Parents:
5351f14
git-author:
Xi Ruoyao <xry111@…> (06/07/2024 07:07:14 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/08/2024 08:46:25 AM)
Message:

python3: Sync test instruction from LFS

The "LC_ALL=en_US.UTF-8" hack is dropped since I've tried running the
tests with an empty $LANG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/python3.xml

    r5351f14 rc721d0d  
    177177
    178178    <para>
    179       <!-- I'm getting a test failure with empty $LANG:
    180            "test test_curses failed"
    181            "_curses.error: inswstr() returned ERR"
    182            not sure why, but let's just work around it with LC_ALL. 
    183  
    184            For Python-3.12.0 all tests pass with only LANG=en_US.utf8.
    185            Total tests: run=41,505 skipped=1,199
    186            Total test files: run=477/483 skipped=12 resource_denied=6
    187 
    188            For Python-3.12.1 all tests pass
    189            Total tests: run=40,624 skipped=1,136
    190            Total test files: run=486/489 skipped=24 resource_denied=3
    191 
    192            For Python-3.12.2 all tests pass
    193            Total tests: run=41,580 skipped=1,144
    194            Total test files: run=485/488 skipped=23 resource_denied=3
    195 
    196            For Python-3.12.3 all tests pass
    197            Total tests: run=41,778 skipped=1,155
    198            Total test files: run=485/488 skipped=24 resource_denied=3
    199       -->
    200       To test the result, issue <command>LC_ALL=en_US.UTF-8
    201       make test</command>.
    202       Some tests may need an Internet connection.
     179      Some tests are known to occasionally hang indefinitely.  So to test
     180      the results, run the test suite but set a 2-minute time limit for each
     181      test case:
     182    </para>
     183
     184<screen remap='test'><userinput>make test TESTOPTS="--timeout 120"</userinput></screen>
     185
     186    <!-- For Python-3.12.3 all tests pass
     187         Total tests: run=41,778 skipped=1,155
     188         Total test files: run=485/488 skipped=24 resource_denied=3
     189    -->
     190
     191    <para>
     192      For a relatively slow system you may need to increase the time
     193      limit and 1 SBU (measured when building Binutils pass 1 with one CPU
     194      core) should be enough.  Some tests are flaky, so the test suite will
     195      automatically re-run failed tests.  If a test failed but then passed
     196      when re-run, it should be considered as passed.
    203197    </para>
    204198
Note: See TracChangeset for help on using the changeset viewer.