Commit 3df11e4
Petter Reinholdtsen
Fixed conformance_arena_constraints test failure with no NUMA hardware.
On a system without NUMA support, like GNU Hurd, the test would fail like this:
[doctest] doctest version is "2.4.12"
[doctest] run with "--help" for options
===============================================================================
test/conformance/conformance_arena_constraints.cpp:44:
TEST CASE: Test NUMA topology traversal correctness
test/conformance/conformance_arena_constraints.cpp:54: FATAL ERROR: REQUIRE( pos != numa_nodes_info.end() ) is NOT correct!
values: REQUIRE( {?} != {?} )
logged: Wrong, extra or repeated NUMA node index detected.
===============================================================================
[doctest] test cases: 5 | 4 passed | 1 failed | 0 skipped
[doctest] assertions: 27 | 26 passed | 1 failed |
[doctest] Status: FAILURE!
With the fix in place, the test succeed.
Fixes #20391 parent 34b3d4b commit 3df11e4
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| |||
0 commit comments