jjb: binutils-gdb: add target_board axis
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 21 Mar 2022 18:38:50 +0000 (14:38 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 21 Mar 2022 19:27:59 +0000 (15:27 -0400)
commit748dd275290eeff3a1eda558d6e8f263188f55c8
tree3d63e6f9295955c7b78a87fc5d30e343767a406a
parentc0337c3207a8dff9c2dd343ec089c712517cb2fa
jjb: binutils-gdb: add target_board axis

Add a "target_board" testing axis.

"target board" is a DejaGNU concept that the GDB testsuite uses.  It
defines what kind of target system we are testing against.  In the case
of GDB, it defines through which means GDB debugs.  The default (when
nothing is specified) is the "unix" board, where GDB debugs against the
native system.  The GDB testsuite ships with some boards that can be
used as target boards with:

  make check RUNTESTFLAGS="--target_board=foo"

where foo is a name from gdb/testsuite/boards.  This patch adds an axis
to test each commit using the following target boards:

  - unix
  - native-gdbserver
  - native-extended-gdbserver

Unfortunately, the three axis values are completely independent, meaning
we build identical GDB three times.  In the future, if we could build it
once and run the testsuite multiple times, it would save some cycles.

Since the failures are different per target board, builds.sh defines one
"known-failures" file per target board.

Change-Id: I9531142b772dc4082d9782262d4daa18b166ac10
jobs/binutils-gdb.yaml
scripts/binutils-gdb/build.sh
This page took 0.02574 seconds and 4 git commands to generate.