]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: log 'make check' command in make-check-all.sh
authorAndrew Burgess <aburgess@redhat.com>
Tue, 7 Nov 2023 18:11:13 +0000 (18:11 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 28 Nov 2023 10:33:44 +0000 (10:33 +0000)
commitbcf90a927e797ae2a909580cbe39be21c2350880
tree919e98613569d27018a1bda657decb19d8afdef2
parent3644f41dc805b38943009bed3d15ed36326406d6
gdb/testsuite: log 'make check' command in make-check-all.sh

I have been making more use of the make-check-all.sh script to run
tests against all boards.

But one thing is pretty annoying.  When a test fails on some random
board, I have to run make-check-all.sh with --verbose and --dry-run in
order to see what RUNTESTFLAGS I should be using.

I always run with --keep-results on, so, in this commit, I propose
that, when --keep-results is on the 'make check' command will be
written out to a file within the stored results directory, like:

  check-all/BOARD_NAME/make-check.sh

then, if I want to rerun a test, I can just:

  sh check-all/BOARD_NAME/make-check.sh

and the test will be re-run for me.
gdb/testsuite/make-check-all.sh