Hi Michael,
I'm writing the test cases but now I have no idea how to make a test result judgement in our LAVA system. You may receive my previous email about the test case definition file (YAML) format, and according to my experiments, I can only write the command line likes this:
lava-test-case botao-panda-es-ubuntu-test-uname --shell "ifconfig -a" || true
And then no matter what happened after the test command ran, above expression will always return "True". So, in this condition, how to know it actually passed or failed?
Thanks.
Best Regards Botao Sun
Botao Sun botao.sun@linaro.org writes:
Hi Michael,
I'm writing the test cases but now I have no idea how to make a test result judgement in our LAVA system. You may receive my previous email about the test case definition file (YAML) format, and according to my experiments, I can only write the command line likes this:
lava-test-case botao-panda-es-ubuntu-test-uname --shell "ifconfig -a" || true
And then no matter what happened after the test command ran, above expression will always return "True". So, in this condition, how to know it actually passed or failed?
The result recorded for the test case "botao-panda-es-ubuntu-test-uname" will be based on the exit code of the command you passed. Also I don't think you need to quote the command you pass.
Cheers, mwh
linaro-validation@lists.linaro.org