diff options
| author | Cristian Marussi <[email protected]> | 2022-01-26 10:32:30 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2022-02-23 17:14:36 -0700 |
| commit | e005ff01bfdb653ac2f03614625cb9aefa86fa9c (patch) | |
| tree | f361ebf23d59dea6b69645586e72e9b734e12af1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cfb92440ee71adcc2105b0890bb01ac3cddb8507 (diff) | |
selftests/kselftest/runner.sh: Pass optional command parameters in environment
Some testcases allow for optional commandline parameters but as of now
there is now way to provide such arguments to the runner script.
Add support to retrieve such optional command parameters fron environment
variables named so as to include the all-uppercase test executable name,
sanitized substituting any non-acceptable varname characters with "_",
following the pattern:
KSELFTEST_<UPPERCASE_SANITIZED_TEST_NAME>_ARGS="options"
Optional command parameters support is not available if 'tr' is not
installed on the test system.
Cc: Kees Cook <[email protected]>
Signed-off-by: Cristian Marussi <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions