[Piglit] ctrl-c to stop piglit run
imirkin at alum.mit.edu
Wed Jul 29 00:40:55 PDT 2015
Use ctrl-\ -- ctrl-c only kills a currently running test, not the whole run.
On Jul 29, 2015 2:19 AM, "Tapani Pälli" <tapani.palli at intel.com> wrote:
> I would like Piglit run to stop when hitting ctrl-c, this is because of
> sometimes launching it with wrong parameters, I'm lazy and don't like to
> use kill (like with yum and some others) when I want it to stop.
> I tried to implement this via setting signal handler to catch it but this
> does not seem to work. I've tried this in run.py (in run) as well as
> profile.py (in TestProfile class) and I'm getting a feeling that this
> approach does not work because of using a thread pool (multiprocessing).
> What would be the correct way to implement this?
> // Tapani
> Piglit mailing list
> Piglit at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Piglit