
On 5/27/21 2:33 AM, opensource.kab@gmail.com wrote:
From: Adarsh Babu Kalepalli opensource.kab@gmail.com
After executing the test-cases from pytest ,the board is still powered.Shutting down the board power supply at this point ,would keep the board safe.
FWIW, this violates the original design of the test system. Turning the board off at the end of the test is a policy decision that not all use-cases will want, and hence not something that the test system should mandate. Instead, the intention is for the user to invoke the test system using a script that does something like:
1) Power on board. 2) Run test. 3) Power off board.
See ./doc/develop/py_testing.rst in the U-Boot source for more background info, or the following URL for an example script:
https://github.com/swarren/u-boot-ci-scripts/blob/master/test.sh