diff options
author | Chase Qi <chase.qi@linaro.org> | 2017-05-26 12:05:18 +0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-06-06 11:28:38 +0000 |
commit | e94ba5232ffab60d646e5484d6e39414651c512b (patch) | |
tree | 6d4e576852d3f1f915ba9df70dd42c09298720a8 /ubuntu/lkp.yaml | |
parent | a992716b1b3ee06c6859952f2de6f54f82f39480 (diff) |
test-runner: add support for parse pattern
LAVA V2 is able to catch and save result lines that send to stdout
instantly. For tests that run for a long time and generates a plenty of
results as it runs, like kselftest and ltp tests, LAVA's live result
collection feature could be useful.
In Linaro Test Suite, to support completely local run and reduce the
complexity of log parser debugging, we parse test log in test script
and save results in LAVA's format to result.txt file. Then use
'send-to-lava.sh [path]/result.txt' to send result lines to stdout after
test finished. This should work for most test cases, but maybe not good
enough for tests mentioned above as the tests may crash or hang or cause
Kernel panic or system halt during test run, in those cases, the result
sending line has no chance to get executed.
Using parse pattern in test definition file is one way to enable LAVA's
live result collection feature. This patch is used to add parse pattern
support in test-runner so that we can run the test cases using parse
pattern on the local. It also could be useful for pattern debugging on
the local.
Change-Id: I5756af84f653ab00fc52c62ff888b71fe8817944
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'ubuntu/lkp.yaml')
0 files changed, 0 insertions, 0 deletions