diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-03-14 20:32:43 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-03-14 20:32:43 +0100 |
commit | b2de4b0926bddbb97b991dd95592c714ee519e1e (patch) | |
tree | ada9ecb42e72d96ac96ad35da13b6e0b827e4cf5 /gcc/rust/util | |
parent | 075ec330307c5b1fe5ed166a633c718c06b01437 (diff) | |
download | gcc-b2de4b0926bddbb97b991dd95592c714ee519e1e.zip gcc-b2de4b0926bddbb97b991dd95592c714ee519e1e.tar.gz gcc-b2de4b0926bddbb97b991dd95592c714ee519e1e.tar.bz2 |
cobol: Don't run cobol tests with -m32 or -mx32 [PR119290]
The following patch adds cobol effective target and uses it to guard main
loop in cobol.dg/dg.exp, so that we don't run the tests on unsupported
multilibs.
Tested on x86_64-linux with
make check-cobol RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} dg.exp'
which previously had all FAILs in the -m32 case and now doesn't report
any PASSes/FAILs/XFAILs/XPASSes etc, while for -m64 the testsuite is run
normally.
2025-03-14 Jakub Jelinek <jakub@redhat.com>
PR cobol/119290
* lib/target-supports.exp (check_compile): Use *.cob extension for
"*> COBOL" comment.
* lib/cobol-dg.exp (check_effective_target_cobol): New procedure.
* cobol.dg/dg.exp: Guard main loop with [check_effective_target_cobol]
test.
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions