Skip to content

Initial kselftests README #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pvts-mat
Copy link

  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! 🥌

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.

2 participants