Skip to content
Snippets Groups Projects
  • Simon Glass's avatar
    d1962ac7
    Makefile: Add a pcheck option to run tests in parallel · d1962ac7
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    Running tests in parallel is much faster, e.g. 15 seconds to run the tests
    on sandbox (only), instead of 100 seconds (on a 16-core machine). Add a
    'make pcheck' option to access this feature.
    
    Note that the tools/ tests still run each tool's tests once after the
    other, although within that, they do run in parallel. So for example,
    the buildman tests run in parallel, then the binman tests run in
    parallel. There would be a signiificant advantage to running them all
    in parallel together, but that would require a large amount of
    refactoring, e.g. with more use of pytest fixtures.
    
    Update the documentation to represent the current state.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
    d1962ac7
    History
    Makefile: Add a pcheck option to run tests in parallel
    Simon Glass authored and Tom Rini's avatar Tom Rini committed
    
    Running tests in parallel is much faster, e.g. 15 seconds to run the tests
    on sandbox (only), instead of 100 seconds (on a 16-core machine). Add a
    'make pcheck' option to access this feature.
    
    Note that the tools/ tests still run each tool's tests once after the
    other, although within that, they do run in parallel. So for example,
    the buildman tests run in parallel, then the binman tests run in
    parallel. There would be a signiificant advantage to running them all
    in parallel together, but that would require a large amount of
    refactoring, e.g. with more use of pytest fixtures.
    
    Update the documentation to represent the current state.
    
    Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>