gdb/testsuite: restore configure script
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 6 Jul 2021 18:54:29 +0000 (14:54 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 6 Jul 2021 19:00:57 +0000 (15:00 -0400)
commit8043d65ba257c3f1ab08e2cce6a1b005923c17cb
treecbe66ef0ed5708b73a9487bea1304e4cb00fbd2a
parent52e44e8d29bf3b3d0bef74c8b25dd21f053a9eb9
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/ChangeLog
gdb/configure
gdb/configure.ac
gdb/testsuite/ChangeLog
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]
This page took 0.027287 seconds and 4 git commands to generate.