Commit 2c7ffbd
committed
[cppyy] Avoid
The test hangs up occasionally in the CI like in the last nightlies on
**macOS 26**:
```txt
../../../../../../src/bindings/pyroot/cppyy/cppyy/test/test_templates.py::TestTEMPLATES::test33_using_template_argument CMake Error at /Users/sftnight/ROOT-CI/src/cmake/modules/RootTestDriver.cmake:232 (message):
error code: 129
``
Unfortunately I'm blind to what happens there.
My best-effort solution for now would be to silmplify the test by
avoiding declaring some code inside the test with `cppyy.cppdef` (aka.
`gInterpreter.Declare`). Like this, many steps like C++ parsing or
dictionary generation are not happening during the test, lowering the
surface of where the hangup might happen. If we're lucky this fixes it,
and if not we have at least narrowed down a bit where the crash might
happen.cppdef in templates test test33_using_template_argument1 parent c8eeff1 commit 2c7ffbd
File tree
2 files changed
+13
-9
lines changed- bindings/pyroot/cppyy/cppyy/test
2 files changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
525 | 538 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | 1132 | | |
1142 | 1133 | | |
1143 | 1134 | | |
| |||
0 commit comments