Skip to content

Conversation

@glados-verma
Copy link
Collaborator

@glados-verma glados-verma commented Sep 6, 2019

Use default SIGINT handler if no tests are running.

I reverted my first attempt where the OpenHTF SIGINT handler was being used when a test was actually being executed, because signal.signal() must be called from the main thread, and custom multi-DUT implementations are known to be using threads to run tests.

Longer term, we should probably support multi-DUT testing in OpenHTF properly, and have some sort of executor that lives in the main thread.


This change is Reviewable

@arsharma1 arsharma1 merged commit 3dcdc2c into google:master Sep 6, 2019
@glados-verma glados-verma deleted the glados-verma_signal-hijack branch September 6, 2019 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants