public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: binutils@sourceware.org
Cc: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org,
	Matthias Klose <doko@ubuntu.com>, Martin Liska <mliska@suse.cz>
Subject: V3 [PATCH 4/5] Set TESTS to gdb.dwarf2/*.exp for PGO build training
Date: Sat, 19 Dec 2020 10:10:35 -0800	[thread overview]
Message-ID: <20201219181036.178248-5-hjl.tools@gmail.com> (raw)
In-Reply-To: <20201219181036.178248-1-hjl.tools@gmail.com>

When configured with --enable-pgo-build, set TESTS to gdb.dwarf2/*.exp
for PGO build training.

	* Makefile.in (TESTS): Set to gdb.dwarf2/*.exp for PGO build
	training.
---
 gdb/testsuite/Makefile.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 61209d881c..e510849edf 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -191,7 +191,12 @@ DO_RUNTEST = \
 # of tests.  For consistency we support it for check-single as well.
 # To specify all tests in a subdirectory, use TESTS=gdb.subdir/*.exp.
 # E.g., make check TESTS="gdb.server/*.exp gdb.threads/*.exp".
+ifdef PGO_BUILD_TRAINING
+# Tests for PGO build training.
+override TESTS = gdb.dwarf2/*.exp
+else
 TESTS :=
+endif
 
 ifeq ($(strip $(TESTS)),)
 expanded_tests_or_none :=
-- 
2.29.2


  parent reply	other threads:[~2020-12-19 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-19 18:10 V3 [PATCH 0/5] Support the PGO build for binutils+gdb H.J. Lu
2020-12-19 18:10 ` V3 [PATCH 1/5] GCC: Pass --plugin to AR and RANLIB H.J. Lu
2020-12-19 18:10 ` V3 [PATCH 2/5] Binutils: " H.J. Lu
2020-12-19 18:10 ` V3 [PATCH 3/5] Support the PGO build for binutils+gdb H.J. Lu
2021-02-28  7:01   ` Mike Frysinger
2021-02-28 12:44     ` [PATCH] Add missing changes to Makefile.tpl H.J. Lu
2020-12-19 18:10 ` H.J. Lu [this message]
2020-12-19 18:10 ` V3 [PATCH 5/5] gnulib: Support variables from the top level Makefile H.J. Lu
2020-12-31 23:50   ` Joseph Myers
2021-01-01  0:06     ` H.J. Lu
2021-01-05 13:26       ` Christian Biesinger
2021-01-05 14:06         ` H.J. Lu
2021-01-02 19:22 ` V3 [PATCH 0/5] Support the PGO build for binutils+gdb Segher Boessenkool
2021-01-02 19:46   ` H.J. Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201219181036.178248-5-hjl.tools@gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=doko@ubuntu.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mliska@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).