]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: restore configure script
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 22 Jun 2021 18:11:32 +0000 (14:11 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 6 Jul 2021 18:53:27 +0000 (14:53 -0400)
commita100a94530eb85991fa736ea5037cf8b83190ae6
tree2d72cbcb61e9e50e8db4ed949533d840f87ca32a
parentf069ea46a03ae868581d1c852da28e979ea1245a
gdb/testsuite: restore configure script

Commit f99d1d37496f ("Remove gdb/testsuite/configure") removed
gdb/testsuite/configure, as anything gdb/testsuite/configure did could
be done by gdb/configure.

There is however one use case that popped up when this changed
propagated to downstream consumers, to run the testsuite on an already
built GDB.  In the workflow of ROCm-GDB at AMD, a GDB package is built
in a CI job.  This GDB package is then tested on different machines /
hardware configurations as part of other CI jobs.  To achieve this,
those CI jobs only configure the testsuite directory and run "make
check" with an appropriate board file.

In light of this use case, the way I see it is that gdb/testsuite could
be considered its own project.  It could be stored in a completely
different repo if we want to, it just happens to be stored inside gdb/.

Since the only downside of having gdb/testsuite/configure is that it
takes a few more seconds to run, but on the other hand it's quite useful
for some people, I propose re-adding it.

In a sense, this is revert of f99d1d37496f, but it's not a direct
git-revert, as some things have changed since.

gdb/ChangeLog:

* configure.ac: Remove things that were moved from
testsuite/configure.ac.
* configure: Re-generate.

gdb/testsuite/ChangeLog:

* configure.ac: Restore.
* configure: Re-generate.
* aclocal.m4: Re-generate.
* Makefile.in (distclean): Add config.status.
(Makefile): Adjust paths.
(lib/pdtrace): Adjust paths.
(config.status): Add.

Change-Id: Ic38c79485e1835712d9c99649c9dfb59667254f1
gdb/configure
gdb/configure.ac
gdb/testsuite/Makefile.in
gdb/testsuite/aclocal.m4 [new file with mode: 0644]
gdb/testsuite/configure [new file with mode: 0755]
gdb/testsuite/configure.ac [new file with mode: 0644]