Lines Matching refs:test
16 # Regression test for PR gdb/18360. Test that "interrupt -a" while
56 # Comment out to debug problems with the test.
72 # and non-zero if some test fails.
80 set test "continue -a &"
81 return_if_nonzero [gdb_test_multiple $test $test {
87 if ![gdb_assert $saw_continuing $test] {
97 set test "all threads are running"
98 return_if_nonzero [gdb_test_multiple "info threads" $test {
104 if ![gdb_assert {$running_count == $NUM_THREADS} $test] {
113 set test "interrupt -a"
114 return_if_nonzero [gdb_test_multiple $test $test {
116 pass $test
124 set test "wait for stops"
127 gdb_test_multiple "" $test {
135 gdb_assert {$stopped_count == $NUM_THREADS} $test
143 # threads". It's a bit redundant with the test above, but
147 set test "all threads are stopped"
148 return_if_nonzero [gdb_test_multiple "info threads" $test {
154 if ![gdb_assert {$running_count == 0} $test] {
163 # The test driver proper. If DISPLACED is "on", turn on displaced
189 # Return early if some test fails, to avoid cascading