Skip to content

Conversation

@acerv
Copy link
Collaborator

@acerv acerv commented Nov 6, 2025

Change the way we complete session by introducing forcibly stop. The
way that kirk works after this patch is the following:

  • if user sends SIGINT or CTRL+C, we simply wait for the running
    tests to complete and finally stop the session

  • if user sends SIGINT or CTRL+C again, we stop any execution on the SUT
    and we terminate the testing suite, flagging the killed test as TSKIP

Reviewed-by: Cyril Hrubis [email protected]
Signed-off-by: Andrea Cervesato [email protected]
Closes: #78

@acerv acerv requested a review from metan-ucw November 6, 2025 14:57
@acerv acerv self-assigned this Nov 6, 2025
@acerv acerv added the enhancement New feature or request label Nov 6, 2025
@acerv acerv force-pushed the force_stop branch 4 times, most recently from c73e750 to 200f221 Compare November 7, 2025 10:03
Copy link
Member

@metan-ucw metan-ucw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, minus the unconditional handling for SIGKILL in the ltp,py. If that is fixed you can add my Reviewed-by: Cyril Hrubis [email protected]

@acerv acerv force-pushed the force_stop branch 4 times, most recently from a2c6293 to da185ec Compare November 17, 2025 09:50
Change the way we complete session by introducing forcibly stop. The
way that kirk works after this patch is the following:

- if user sends SIGINT or CTRL+C, we simply wait for the running
tests to complete and finally stop the session

- if user sends SIGINT or CTRL+C again, we stop any execution on the SUT
and we terminate the testing suite, flagging the killed test as TSKIP

Reviewed-by: Cyril Hrubis <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
Closes: linux-test-project#78
@acerv acerv merged commit 53ee3f7 into linux-test-project:master Dec 9, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for a force quit

2 participants