diff options
author | David Gow <davidgow@google.com> | 2021-11-02 10:30:11 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-12-13 23:36:06 +0300 |
commit | c68077b14692f4a5d42334625d6d4924b234791e (patch) | |
tree | de43fd9a4c0d73f36896077816efd56c8c3d7f6e /scripts | |
parent | ee92ed38364e7073bb741577d7b243b232442014 (diff) | |
download | linux-c68077b14692f4a5d42334625d6d4924b234791e.tar.xz |
kunit: tool: Do not error on tests without test plans
The (K)TAP spec encourages test output to begin with a 'test plan': a
count of the number of tests being run of the form:
1..n
However, some test suites might not know the number of subtests in
advance (for example, KUnit's parameterised tests use a generator
function). In this case, it's not possible to print the test plan in
advance.
kunit_tool already parses test output which doesn't contain a plan, but
reports an error. Since we want to use nested subtests with KUnit
paramterised tests, remove this error.
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions