aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-06-09 08:34:47 -0600
committerTom Tromey <tromey@adacore.com>2021-06-09 10:13:34 -0600
commitc70fdc45f60845852f98eae3b8035de1a2df78de (patch)
treea8044f90131967df0b7824a87ef9ec03f296cc5f
parentcc96519fdc043697eea7895aa8cb77579e844887 (diff)
downloadfsf-binutils-gdb-c70fdc45f60845852f98eae3b8035de1a2df78de.zip
fsf-binutils-gdb-c70fdc45f60845852f98eae3b8035de1a2df78de.tar.gz
fsf-binutils-gdb-c70fdc45f60845852f98eae3b8035de1a2df78de.tar.bz2
Update read1 example in gdb/testsuite/README
Tom de Vries noticed that the recent changes to the testsuite's configury required an update to the README. This patch changes the text to document the new reality. 2021-06-09 Tom Tromey <tromey@adacore.com> * README (Example): Update read1 example.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/README6
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d9bda53..39aa648 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-09 Tom Tromey <tromey@adacore.com>
+
+ * README (Example): Update read1 example.
+
2021-06-09 Simon Marchi <simon.marchi@polymtl.ca>
* lib/tuiterm.exp (Term) <_check_box>: Improve logging.
diff --git a/gdb/testsuite/README b/gdb/testsuite/README
index 0036753..862f423 100644
--- a/gdb/testsuite/README
+++ b/gdb/testsuite/README
@@ -347,9 +347,13 @@ return at most 1 byte.
To enable this, either pass a non-empty value in the READ1 make
variable, or use the check-read1 make target instead of check.
-Examples:
+Example:
make -j10 check-read1 TESTS="*/paginate-*.exp"
+
+If you've already built the read1 support code, either via a previous
+'check-read1' run, or by using "make read1", you can use:
+
make -j10 check READ1="1"
Note: While the intention is to detect races and make otherwise passing tests