Commit c40dc83
committed
[ML] Fix test parallelism bug and pre-compile tests to prevent OOM
Fix $(TEST_PARALLEL) -> ${TEST_PARALLEL} typo in docker_entrypoint.sh.
The command substitution syntax caused bash to try to execute a command
called TEST_PARALLEL (which doesn't exist), resulting in an empty string
and cmake interpreting bare -j as unlimited parallelism. This led to OOM
kills during test compilation on CI agents.
Also pre-compile test executables via build_tests target before running
test_all_parallel, ensuring no compilation happens concurrently with
test execution.
Made-with: Cursor1 parent b2043e9 commit c40dc83
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
0 commit comments