[binutils-gdb] Make it easier to debug non-stop-fair-events.exp

sergiodj+buildbot@redhat.com sergiodj+buildbot@redhat.com
Wed Sep 16 15:38:00 GMT 2015


*** TEST RESULTS FOR COMMIT d136eff549649f23b12121575362dfa09343ea0a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: d136eff549649f23b12121575362dfa09343ea0a

Make it easier to debug non-stop-fair-events.exp

If we enable infrun debug running this test, it quickly fails with a
full expect buffer.  That can be simply handled with a couple
exp_continues.  As it's annoying to hack this every time we need to
debug the test, this patch adds bits to enable debugging support
easily, with a one-line change.

And then, if any iteration of the test fails, we end up with a long
cascade of time outs.  Just bail out when we see the first fail.

gdb/testsuite/
2015-09-16  Pedro Alves  <palves@redhat.com>

	* gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
	(enable_debug): New procedures.
	(test): Use them.  Bail out if waiting for threads fails.
	(top level): Bail out if a test fails.



More information about the Gdb-testers mailing list