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