| 144 | extern void suite_repro_lsp_kt_php_rust(void); |
| 145 | |
| 146 | int main(void) { |
| 147 | /* #845 belt-and-suspenders: this binary EMBEDS cbm_mcp_handle_tool and its |
| 148 | * main() IGNORES argv — spawned as `<self> cli --index-worker …` it would |
| 149 | * re-run EVERY repro suite recursively (the observed 11-min hangs). The |
| 150 | * supervisor gate already ignores unmarked hosts; pin the kill switch too. |
| 151 | * A test that exercises the supervisor must explicitly re-enable it. */ |
| 152 | cbm_setenv("CBM_INDEX_SUPERVISOR", "0", 1); |
| 153 | #ifdef CBM_ENABLE_TEST_SEAMS |
| 154 | /* No reproduction needs the daemon rendezvous. Its default is the |
| 155 | * developer's live daemon whatever HOME says, so a case that ever resolves |
| 156 | * an endpoint without an explicit parent or CBM_RUNTIME_DIR is refused |
| 157 | * loudly instead of reaching it. */ |
| 158 | cbm_daemon_bootstrap_forbid_default_runtime_for_test(true); |
| 159 | #endif |
| 160 | /* #2003: fixture git commands must never reach the caller's repository. */ |
| 161 | th_clear_git_repo_env(); |
| 162 | |
| 163 | /* Unbuffered: a reproduction may crash/_exit (or a sanitizer may _exit on a |
| 164 | * leak) before stdio flushes — keep every printed line so the summary and the |
| 165 | * RED rows always reach the board even on an abnormal exit. */ |
| 166 | setvbuf(stdout, NULL, _IONBF, 0); |
| 167 | |
| 168 | printf("\n"); |
| 169 | printf("════════════════════════════════════════════════════════════\n"); |
| 170 | printf(" CUMULATIVE BUG-REPRODUCTION SUITE\n"); |
| 171 | printf(" RED rows are EXPECTED — each is an open bug reproduced.\n"); |
| 172 | printf(" PASS rows may be controls or candidate fixes. Verify each\n"); |
| 173 | printf(" RED→GREEN transition before promotion or issue closure.\n"); |
| 174 | printf("════════════════════════════════════════════════════════════\n"); |
| 175 | |
| 176 | RUN_SUITE(repro_extraction); |
| 177 | RUN_SUITE(repro_runner_filter); |
| 178 | RUN_SUITE(repro_harness_cleanup); |
| 179 | RUN_SUITE(repro_language_registry); |
| 180 | RUN_SUITE(repro_call_node_manifest); |
| 181 | RUN_SUITE(repro_call_scope_usages); |
| 182 | RUN_SUITE(repro_call_argument_usages); |
| 183 | RUN_SUITE(repro_lsp_ordered_signatures); |
| 184 | RUN_SUITE(repro_lsp_ordered_local); |
| 185 | RUN_SUITE(repro_ts_overload_return_chains); |
| 186 | RUN_SUITE(repro_reference_precision); |
| 187 | RUN_SUITE(repro_lexical_binding_precision); |
| 188 | RUN_SUITE(repro_call_argument_matrix_a); |
| 189 | RUN_SUITE(repro_call_argument_matrix_b); |
| 190 | RUN_SUITE(repro_call_node_behaviors); |
| 191 | RUN_SUITE(repro_parallel_determinism); |
| 192 | RUN_SUITE(repro_issue495); |
| 193 | RUN_SUITE(repro_issue521); |
| 194 | RUN_SUITE(repro_issue382); |
| 195 | RUN_SUITE(repro_issue408); |
| 196 | RUN_SUITE(repro_issue56); |
| 197 | RUN_SUITE(repro_issue480); |
| 198 | RUN_SUITE(repro_issue571); |
| 199 | RUN_SUITE(repro_issue523); |
| 200 | RUN_SUITE(repro_issue546); |
| 201 | RUN_SUITE(repro_issue627); |
| 202 | RUN_SUITE(repro_issue514); |
| 203 | RUN_SUITE(repro_issue510); |
nothing calls this directly
no test coverage detected