summaryrefslogtreecommitdiffstats
path: root/tools/leds
diff options
context:
space:
mode:
authorHeidi Fahim <heidifahim@google.com>2020-03-16 13:21:24 -0700
committerShuah Khan <skhan@linuxfoundation.org>2020-03-20 16:15:57 -0600
commitafc63da64f1e5e41875c98707020e85050f8a0c5 (patch)
treeadd22c335b92cc5a6b2d6a500e39d3d82111eed2 /tools/leds
parent2c523b344dfa65a3738e7039832044aa133c75fb (diff)
downloadlinux-afc63da64f1e5e41875c98707020e85050f8a0c5.tar.bz2
kunit: kunit_parser: make parser more robust
Previously, kunit_parser did not properly handle kunit TAP output that - had any prefixes (generated from different configs e.g. CONFIG_PRINTK_TIME) - had unrelated kernel output mixed in the middle of it, which has shown up when testing with allyesconfig To remove prefixes, the parser looks for the first line that includes TAP output, "TAP version 14". It then determines the length of the string before this sequence, and strips that number of characters off the beginning of the following lines until the last KUnit output line is reached. These fixes have been tested with additional tests in the KUnitParseTest and their associated logs have also been added. Signed-off-by: Heidi Fahim <heidifahim@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions