The following 2 patches add new optional parameter 'timeout' to run_test().
This serves as a client-side watchdog, and test which won't complete within
specified timeframe is killed.

Second patch is to allow passing this information to harness, which can
setup its own (external) watchdog to deal with situations when client-side
watchdog isn't enough, for example: reboot the machine if it hangs.


Jan Stancek (2):
  timeout parameter for job.run_test()
  pass run_test() timeout parameter to harness

 client/bin/harness.py         |    3 +-
 client/bin/harness_ABAT.py    |    3 +-
 client/bin/job.py             |   33 ++++++++++++++++++++++-------
 client/bin/job_unittest.py    |   46 +++++++++++++++++++++++++++++++++++++---
 client/bin/parallel.py        |   29 +++++++++++++++++++++++++-
 client/common_lib/base_job.py |    2 +
 6 files changed, 101 insertions(+), 15 deletions(-)
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to