Skip to contentSkip to conversation

ktest reboot on each test

DISCUSSION [email protected] 1 participant 1 message Sep 1, 2015

lore
Share & tools
lore
#0 lore raw

Steven,

I was playing with ktest.pl and I found that it reboots after each test. What I wanted to do was to boot the system with one TEST_START section, then leave it booted. I would have additional TEST_START sections which would run on the already booted target. The only way I see to do that is to override the reboot and powercycling options so that when it attempts to reboot it's just a nop. Is that the only way to do this or is there something I'm missing ?

I also have these set,

REBOOT_ON_SUCCESS = 0
REBOOT_ON_ERROR = 0
POWEROFF_ON_ERROR = 0
POWEROFF_ON_SUCCESS = 0

but every TEST_START seems to reboot regardless. It seems to be in the sub monitor , it calls reboot_to() which ends up rebooting.

Any help appreciated.

Daniel