kunit: time: Mark test as slow using test attributes
authorRae Moar <rmoar@google.com>
Tue, 25 Jul 2023 21:25:18 +0000 (21:25 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 26 Jul 2023 19:29:35 +0000 (13:29 -0600)
commita547c4ce10bde42d4e9ea63d1155970fbfd77db2
tree1253afe01a09eda84e7d505857839d5d035e7f7b
parentd055c6a2cc162fa3fe23d0a88a279baf46abe85d
kunit: time: Mark test as slow using test attributes

Mark the time KUnit test, time64_to_tm_test_date_range, as slow using test
attributes.

This test ran relatively much slower than most other KUnit tests.

By marking this test as slow, the test can now be filtered using the KUnit
test attribute filtering feature. Example: --filter "speed>slow". This will
run only the tests that have speeds faster than slow. The slow attribute
will also be outputted in KTAP.

Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Rae Moar <rmoar@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
kernel/time/time_test.c