MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pc_configured_case

Function pc_configured_case

tests/test_pipeline_conventions.c:277–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277static int pc_configured_case(bool parallel) {
278 pc_env_t env; pc_fixture_t f = {0};
279 bool setup = pc_env_begin(&env, parallel) && pc_fixture_open(&f, parallel) &&
280 pc_write(f.config, pc_config0) && pc_source_write(&f, "unit.c", pc_source);
281 int rc = setup ? pc_run(&f, CBM_MODE_FAST, false, 0, NULL, NULL, NULL) : -999;
282 bool graph = setup && pc_c_graph(f.db, false);
283 bool cleanup = pc_close(&f, &env);
284 ASSERT_TRUE(setup); ASSERT_TRUE(cleanup); ASSERT_EQ(rc, 0); ASSERT_TRUE(graph); PASS();
285}
286TEST(pipeline_conventions_serial_roles_qns_and_calls) {
287 ASSERT_EQ(pc_init_status, 0); return pc_configured_case(false);
288}

Callers 1

Calls 7

pc_env_beginFunction · 0.85
pc_fixture_openFunction · 0.85
pc_writeFunction · 0.85
pc_source_writeFunction · 0.85
pc_runFunction · 0.85
pc_c_graphFunction · 0.85
pc_closeFunction · 0.85

Tested by

no test coverage detected