automated: linux: ltp: Allow detection of the number of CPUs at runtime (#573)

Currently the number of kirk workers has to be configured explicitly,
kirk itself does not support detecting the number of CPUs the system has
and test-definitions just passes the value it has straight through to
the kirk runner.  This is a bit annoying when using templating to share
job definitions over multiple device types, requiring explicit per type
configuration.

Given that a very common case is going to be to use all the CPUs
available on the target platform provide support for the magic number of
workers "max" which counts the number of CPUs reported by /proc/cpuinfo
and uses that as the number of workers.

Signed-off-by: Mark Brown <broonie@kernel.org>
1 file changed
tree: 4784e7aeeb99bbbdba43bf9d7443dea97e3fca1f
  1. .github/
  2. .reuse/
  3. automated/
  4. docs/
  5. LICENSES/
  6. manual/
  7. mkdocs_plugin/
  8. plans/
  9. test/
  10. .gitignore
  11. .readthedocs.yml
  12. COPYING
  13. COPYRIGHTS
  14. mkdocs.yml
  15. README.md
  16. sanity-check.sh
  17. test.sh
  18. validate.py
README.md

Build Status REUSE Compliance Check

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execution outside LAVA.

More details in docs