diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-09-16 14:36:15 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-10-17 19:21:52 -0400 |
commit | ff6275ef829873a70350c6d597e485bb84dd1bb1 (patch) | |
tree | e9837e8ad61c85fd02f7390aac6903751f585699 /testsuite/mk | |
parent | 08ab5419286d2620f2e6762607bad03c5bcd29ad (diff) | |
download | haskell-ff6275ef829873a70350c6d597e485bb84dd1bb1.tar.gz |
Testsuite: Add a new tables_next_to_code predicate.
And use it to avoid T21710a failing on non-tntc archs.
Fixes #22169
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/test.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 4ce9bbb8a0..201d52d1dd 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -96,6 +96,12 @@ else RUNTEST_OPTS += -e "config.leading_underscore=False" endif +ifeq "$(GhcTablesNextToCode)" "YES" +RUNTEST_OPTS += -e "config.tables_next_to_code=True" +else +RUNTEST_OPTS += -e "config.tables_next_to_code=False" +endif + HAVE_GDB := $(shell if gdb --version > /dev/null 2> /dev/null; then echo YES; else echo NO; fi) HAVE_READELF := $(shell if readelf --version > /dev/null 2> /dev/null; then echo YES; else echo NO; fi) |