mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
[gdb/testsuite] Add note to 'Race detection' entry in README
Add note to 'Race detection' entry in README about the possibility that check-read1 makes failing tests pass. gdb/testsuite/ChangeLog: 2020-02-04 Tom de Vries <tdevries@suse.de> * README (Race detection): Add note. Change-Id: I12ef2f0ec35abc5a0221585bf30e5f4f0616aa7c
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2020-02-04 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
|
* README (Race detection): Add note.
|
||||||
|
|
||||||
2020-02-04 Tom de Vries <tdevries@suse.de>
|
2020-02-04 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
* lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
|
* lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
|
||||||
|
@ -352,6 +352,13 @@ Examples:
|
|||||||
make -j10 check-read1 TESTS="*/paginate-*.exp"
|
make -j10 check-read1 TESTS="*/paginate-*.exp"
|
||||||
make -j10 check READ1="1"
|
make -j10 check READ1="1"
|
||||||
|
|
||||||
|
Note: While the intention is to detect races and make otherwise passing tests
|
||||||
|
fail, it can also have the effect of making otherwise failing tests pass.
|
||||||
|
This happens f.i. if the test is trying to match a gdb prompt using an end of
|
||||||
|
input marker "${gdb_prompt} $" and there is output after the gdb prompt. This
|
||||||
|
may either pass or fail in normal operation, but using check-read1 will ensure
|
||||||
|
that it passes.
|
||||||
|
|
||||||
Testsuite Configuration
|
Testsuite Configuration
|
||||||
***********************
|
***********************
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user