automated: linux: modules: fix get_modules_list fallback logic

Fix get_modules_list to properly handle the case where both
MODULES_LIST and MODULES_SUBDIRS are empty.

Previously, an empty MODULES_SUBDIRS resulted in an invalid grep
expression, causing no modules to be selected. With this change,
the script defaults to using all modules listed in modules.order
if no specific list or subdirectory is provided.

Also ensure the skiplist is optional and handled safely.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 file changed
tree: a77b9137a029cd86fa3f4f964e0e712fb6ec85e2
  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