aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2021-06-10 20:57:25 -0700
committerShuah Khan <[email protected]>2021-06-11 15:50:38 -0600
commit384426bd101cb3cd580b18de19d4891ec5ca5bf9 (patch)
tree776cd8a8fb13a6aa51fdaaaaf3c943015d0c9513 /scripts/gdb/vmlinux-gdb.py
parentd7eab3df8f39b116d934bc17f8070861e18cfb62 (diff)
kunit: Fix result propagation for parameterised tests
When one parameter of a parameterised test failed, its failure would be propagated to the overall test, but not to the suite result (unless it was the last parameter). This is because test_case->success was being reset to the test->success result after each parameter was used, so a failing test's result would be overwritten by a non-failing result. The overall test result was handled in a third variable, test_result, but this was discarded after the status line was printed. Instead, just propagate the result after each parameter run. Signed-off-by: David Gow <[email protected]> Fixes: fadb08e7c750 ("kunit: Support for Parameterized Testing") Reviewed-by: Marco Elver <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions