diff options
author | Maxime Ripard <mripard@kernel.org> | 2023-10-26 10:59:31 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-11-14 13:01:37 -0700 |
commit | f8f2847f739dc899d0e563eac01299dadefa64ff (patch) | |
tree | 9f84b2daf0a837f2914d7b6845773cbf1d73bce7 /scripts/gdb/linux/vfs.py | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) |
kunit: Warn if tests are slow
Kunit recently gained support to setup attributes, the first one being
the speed of a given test, then allowing to filter out slow tests.
A slow test is defined in the documentation as taking more than one
second. There's an another speed attribute called "super slow" but whose
definition is less clear.
Add support to the test runner to check the test execution time, and
report tests that should be marked as slow but aren't.
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions