diff options
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/HACKING.rst b/HACKING.rst index d92a20dd7..5786afdb3 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -294,7 +294,7 @@ committed with that. To do this, first ensure you have ``click_man`` installed, possibly with:: - pip install --user click_man + pip3 install --user click_man Then, in the toplevel directory of buildstream, run the following:: @@ -450,7 +450,7 @@ To run the tests, just type:: At the toplevel. When debugging a test, it can be desirable to see the stdout -and stderr generated by a test, to do this use the --addopts +and stderr generated by a test, to do this use the ``--addopts`` function to feed arguments to pytest as such:: ./setup.py test --addopts -s @@ -530,7 +530,7 @@ tool. Python provides `cProfile <https://docs.python.org/3/library/profile.html>`_ which gives you a list of all functions called during execution and how much -time was spent in each function. Here is an example of running `bst --help` +time was spent in each function. Here is an example of running ``bst --help`` under cProfile: python3 -m cProfile -o bst.cprofile -- $(which bst) --help |