Skip to content

Conversation

@pvts-mat
Copy link
Contributor

  1. Description of the key files in kernel's source tree related to running selftests:
    • tools/testing/selftests/Makefile
    • tools/testing/selftests/lib.mk
    • tools/testing/selftests/run_kselftest.sh
    • tools/testing/selftests/kselftest/runner.sh
    • tools/testing/selftests/kselftest-list.txt
  2. Description of how the tests are organized and how does this abstract organization map to the files and directories in the tools/testing/selftests/ subdir.
  3. Practical tips for specific use cases
    • Printing the list of all available tests.
    • Running a specific test (instead of the whole collection).
    • Changing the test's timeout.

1. Description of the key files in kernel's source tree related to
   running selftests:
   - `tools/testing/selftests/Makefile'
   - `tools/testing/selftests/lib.mk'
   - `tools/testing/selftests/run_kselftest.sh'
   - `tools/testing/selftests/kselftest/runner.sh'
   - `tools/testing/selftests/kselftest-list.txt'
2. Description of how the tests are organized and how does this abstract
   organization map to the files and directories in the
   `tools/testing/selftests/' subdir.
3. Practical tips for specific use cases
   - Printing the list of all available tests.
   - Running a specific test (instead of the whole collection).
   - Changing the test's timeout.
Copy link
Collaborator

@bmastbergen bmastbergen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks! 🥌

Copy link

@thefossguy-ciq thefossguy-ciq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, this is quite amazing! 🚤

Copy link
Collaborator

@PlaidCat PlaidCat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@PlaidCat
Copy link
Collaborator

I'm gonna re-base and merge this.

@PlaidCat PlaidCat merged commit 09318c2 into ctrliq:main Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants