From 5ed37b354c07cafe913e7a4dba2b87c4e44dfe7b Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 12 May 2021 18:34:34 -0500 Subject: Remove python tests in Chapter 8 --- chapter08/python.xml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'chapter08/python.xml') diff --git a/chapter08/python.xml b/chapter08/python.xml index 4a6fe1bd5..ddcaa17d2 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -44,11 +44,12 @@ Prepare Python for compilation: -./configure --prefix=/usr \ - --enable-shared \ - --with-system-expat \ - --with-system-ffi \ - --with-ensurepip=yes +./configure --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ + --with-ensurepip=yes \ + --enable-optimizations The meaning of the configure options: @@ -77,20 +78,24 @@ + + --enable-optimizations + + This switch enables stable, but expensive, optimizations. + + + Compile the package: make - To test the results, issue: - -make test - - Some tests requiring a network connection or additional packages are - skipped. The tests test_unicodedata and test_curses tests are known to fail. For - more comprehensive results, the tests can be rerun when Python 3 is - reinstalled in BLFS. + Running the tests at this point is not recommended. The + tests are known to hang indefinitely in the partial LFS environment. + If desired, the tests can be rerun at the end of this chapter or + when Python 3 is reinstalled in BLFS. To run the tests anyway, + issue make test. Install the package: -- cgit v1.2.3-54-g00ecf