diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-05-04 14:57:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-10 12:52:34 +0100 |
commit | eae7c2a0c277c764a72073cdce1cdb2eb1fd1b9a (patch) | |
tree | fc3b2691dece36a13abc2892aea921d1dc601466 /documentation/test-manual | |
parent | e3d64415eddb7c0a5c13a2a91611204c8abfbedb (diff) | |
download | poky-eae7c2a0c277c764a72073cdce1cdb2eb1fd1b9a.tar.gz |
manuals: fix name capitalization issues
- Using "BitBake" instead of "Bitbake" or "bitbake", aligning with the
title of the "BitBake User Manual".
- Using "OpenEmbedded" instead of "Openembedded"
- Using "Python" instead of "python"
(From yocto-docs rev: 0b893e2a15aefedd7100445fc9d7eeed07b6afc6)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/test-manual')
-rw-r--r-- | documentation/test-manual/intro.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/test-manual/intro.rst b/documentation/test-manual/intro.rst index 9c1a93cd40..17cde316b3 100644 --- a/documentation/test-manual/intro.rst +++ b/documentation/test-manual/intro.rst | |||
@@ -72,7 +72,7 @@ simple JSON files. | |||
72 | .. note:: | 72 | .. note:: |
73 | 73 | ||
74 | The project uses Buildbot for historical reasons but also because | 74 | The project uses Buildbot for historical reasons but also because |
75 | many of the project developers have knowledge of python. It is | 75 | many of the project developers have knowledge of Python. It is |
76 | possible to use the outer layers from another Continuous Integration | 76 | possible to use the outer layers from another Continuous Integration |
77 | (CI) system such as | 77 | (CI) system such as |
78 | `Jenkins <https://en.wikipedia.org/wiki/Jenkins_(software)>`__ | 78 | `Jenkins <https://en.wikipedia.org/wiki/Jenkins_(software)>`__ |
@@ -335,12 +335,12 @@ A simple test example from ``lib/bb/tests/data.py`` is:: | |||
335 | self.assertEqual(str(val), "value_of_foo") | 335 | self.assertEqual(str(val), "value_of_foo") |
336 | 336 | ||
337 | In this example, a ``DataExpansions`` class of tests is created, | 337 | In this example, a ``DataExpansions`` class of tests is created, |
338 | derived from standard python unittest. The class has a common ``setUp`` | 338 | derived from standard Python unittest. The class has a common ``setUp`` |
339 | function which is shared by all the tests in the class. A simple test is | 339 | function which is shared by all the tests in the class. A simple test is |
340 | then added to test that when a variable is expanded, the correct value | 340 | then added to test that when a variable is expanded, the correct value |
341 | is found. | 341 | is found. |
342 | 342 | ||
343 | Bitbake selftests are straightforward python unittest. Refer to the | 343 | BitBake selftests are straightforward Python unittest. Refer to the |
344 | Python unittest documentation for additional information on writing | 344 | Python unittest documentation for additional information on writing |
345 | these tests at: https://docs.python.org/3/library/unittest.html. | 345 | these tests at: https://docs.python.org/3/library/unittest.html. |
346 | 346 | ||
@@ -468,7 +468,7 @@ following:: | |||
468 | 468 | ||
469 | In this example, if nativesdk-python3-core has been installed into the SDK, the code runs | 469 | In this example, if nativesdk-python3-core has been installed into the SDK, the code runs |
470 | the python3 interpreter with a basic command to check it is working | 470 | the python3 interpreter with a basic command to check it is working |
471 | correctly. The test would only run if python3 is installed in the SDK. | 471 | correctly. The test would only run if Python3 is installed in the SDK. |
472 | 472 | ||
473 | ``oe-build-perf-test`` | 473 | ``oe-build-perf-test`` |
474 | ---------------------- | 474 | ---------------------- |