Skip to content

Commit 8107788

Browse files
committed
Merge branch 'pmderodat/gnat_hang_workaround' into 'master'
Ada2022/aggregates/containers: workaround the compiler hang See merge request eng/das/cov/gnatcoverage!335 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. For eng/toolchain/gnat#502
2 parents 8d7ca36 + 0cca65b commit 8107788

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)