Skip to content

Commit 0cca65b

Browse files
committed
Ada2022/aggregates/containers: workaround the compiler hang
When compiling the instrumented code for this testcase, GNAT is currently stuck in an infinite loop. This is highly inconvenient for the GNATcov team, as this means that this testcase always hits the timeout, making affected testuite runs take ~13 minutes more than needed. Temporarily make the testcase fail instantly while the GNAT bug is being investigated.
1 parent 8d7ca36 commit 0cca65b

File tree

1 file changed

+4
-0
lines changed
  • testsuite/tests/Ada2022/aggregates/containers

1 file changed

+4
-0
lines changed

testsuite/tests/Ada2022/aggregates/containers/test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
from SUITE.context import thistest
99

1010

11+
# GNAT hangs on instrumented code (eng/toolchain/gnat#502): to avoid
12+
# systematically hitting timeouts (wasting precious minutes in a testsuite
13+
# run), abort the testcase early until this is fixed.
14+
thistest.stop(RuntimeError)
1115
TestCase(category=CAT.decision).run()
1216
thistest.result()

0 commit comments

Comments
 (0)