diff --git a/test/template.py b/test/template.py index f660c9a9f4..8867abe007 100644 --- a/test/template.py +++ b/test/template.py @@ -21,7 +21,7 @@ t.write("hello.cpp", """ int main() {} -""" +""") # Run the build. t.run_build_system() diff --git a/test/test-config-example.jam b/test/test-config-example.jam index 269683a69b..8c2647693e 100644 --- a/test/test-config-example.jam +++ b/test/test-config-example.jam @@ -4,7 +4,7 @@ # Skeleton for test configuration. If your local configuration -# interferes with testing, rename this files to 'test-system.jam' +# interferes with testing, rename this file to 'test-config.jam' # and tweak it. When tests are run, only this file will be loaded, # while site-config.jam and user-config.jam will be ignored. diff --git a/test/test_system.html b/test/test_system.html index e7f5694e1f..38a4273044 100644 --- a/test/test_system.html +++ b/test/test_system.html @@ -94,8 +94,8 @@

A testing system for B2

Introduction for users

The testing system for B2 is a small set of Python modules and - scripts for automatically testing user-obversable behaviour. It uses - components from testing systems of Scons + scripts for automatically testing user-observable behaviour. It uses + components from testing systems of SCons and Subversion, together with some additional functionality.

@@ -105,8 +105,8 @@

Introduction for users

  • Get the source tree of B2 (located at tools/build in Boost)
  • -
  • Have Python installed. Version - 2.1 is known to work.
  • +
  • Have Python 3 installed. Prior + versions are no longer compatible.
  • Build Boost.Jam. See $boost_build_root/engine/index.html for @@ -131,8 +131,13 @@

    Introduction for users

    Examples:

    -python test_all.py
    -python generators_test.py
    +./test_all.py
    +./generators_test.py
    +
    +or +
    +python3 test_all.py
    +python3 generators_test.py
     

    If everything is OK, you will see a list of passed tests. Otherwise, a @@ -144,8 +149,8 @@

    Command line options

    you can specify a specific one on the command line:

    -python test_all.py borland
    -python generators_test.py msvc-7.1
    +python3 test_all.py borland
    +python3 generators_test.py msvc-7.1
     

    Other test script flags you can specify on the command line are:

    @@ -173,7 +178,7 @@

    Introduction for developers