]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/testsuite: split gdb.dwarf2/macro-source-path.exp
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 22 Apr 2025 19:48:27 +0000 (15:48 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 23 Apr 2025 20:18:53 +0000 (16:18 -0400)
commitf17820ec6e4326447e1de02b5211793290cd32ef
tree95160067afa746f810eb5b39dbc0142f94a1198b
parent09338cf326f277a25799873f1000138470a3645f
gdb/testsuite: split gdb.dwarf2/macro-source-path.exp

Because it runs so many variations, the test
gdb.dwarf2/macro-source-path.exp takes about 2:40 minutes to run for me,
in a non-optimized build.  These days I often run all tests under
gdb.dwarf2, as a sanity test for my changes, and so I often have to wait
for this test to complete.

Split the test, to allow it to complete faster when running the
testsuite in parallel.  After this patch, running all the
gdb.dwarf2/macro-source-path-*.exp tests in parallel takes me about 1
minute.  It's more that I would expect, I would expect the time to be
divided by nearly 5, but it's already better than what we have now.

Change-Id: I07e4e1f234cf57d9b0c1c027f08061615714a4d5
Acked-By: Tom de Vries <tdevries@suse.de>
gdb/testsuite/gdb.dwarf2/macro-source-path-clang14-dw4.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/macro-source-path-clang14-dw5.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/macro-source-path-gcc11-ld234-dw5.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/macro-source-path-gcc11-ld238-dw4.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/macro-source-path-gcc11-ld238-dw5.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/macro-source-path.exp.tcl [moved from gdb/testsuite/gdb.dwarf2/macro-source-path.exp with 50% similarity]