GNOME Bugzilla – Bug 605972
don't abort gdb'd tests
Last modified: 2016-11-30 06:21:47 UTC
Created attachment 150746 [details] [review] add timeout variable and use when gdbing make gdb-check is handy except the tests have a timeout watchdog that autokills them (useful in buildbots; not useful when stepping through code)
Review of attachment 150746 [details] [review]: Hm, why can't we just not set the crash after timeout if we see a GJS_TEST_SKIP_TIMEOUT environment variable? 1000000 is a little cheesy.
yeah, just a disable var might be nicer. I was trying to be generic or something. thought maybe some people would want to tune it in their buildbot maybe.
Maybe have 0 mean infinite then?
Created attachment 340962 [details] [review] tests: Allow disabling abort timeout Run tests under GDB with GJS_TEST_SKIP_TIMEOUT=1 so that you don't get SIGABRT while stepping through the program. Original idea by Havoc Pennington <hp@pobox.com>.
Here's the patch with a disable var, we don't have make gdb-check anymore though.
Review of attachment 340962 [details] [review]: Sure
Attachment 340962 [details] pushed as 6d22836 - tests: Allow disabling abort timeout