automated: utils: use lava-test-case for result saving in LAVA
In LAVA, use lava-test-case for result saving makes the upload helper
script more reliable.
For local run, saving file upload 'fail/skip' result to 'result.txt'
isn't necessary as it is always skipped. And some test cases may
don't use 'result.txt' at all, in these cases, we will need to handle
file creating in the upload helper script which increases complicity.
Change-Id: Ie9ed79b66bab6abc861c2a3da7a3c6fd21b19c88
Signed-off-by: Chase Qi <chase.qi@linaro.org>
1 file changed