Builds the source tree into `keep` (renamed from the candidate); base may be * NULL. *route receives the route that built it. */
| 1640 | /* Builds the source tree into `keep` (renamed from the candidate); base may be |
| 1641 | * NULL. *route receives the route that built it. */ |
| 1642 | static bool pf_build_into(pf_fixture_t *f, const char *base, const char *keep, |
| 1643 | cbm_pipeline_frozen_route_t *route) { |
| 1644 | cbm_git_context_t git = pf_git(f); |
| 1645 | cbm_pipeline_frozen_inputs_t in = pf_inputs(f, NULL, &git, NULL); |
| 1646 | in.base_db_path = base; |
| 1647 | cbm_pipeline_frozen_t *owner = NULL; |
| 1648 | bool ok = cbm_pipeline_frozen_create(&in, &owner) == CBM_PIPELINE_FROZEN_OK && |
| 1649 | pf_build_expected_ok(owner) == CBM_PIPELINE_FROZEN_OK; |
| 1650 | *route = cbm_pipeline_frozen_route(owner); |
| 1651 | cbm_pipeline_frozen_free(owner); |
| 1652 | return ok && rename(f->db, keep) == 0; |
| 1653 | } |
| 1654 | |
| 1655 | TEST(pipeline_frozen_base_repairs_or_rebuilds_to_the_full_graph) { |
| 1656 | ASSERT_EQ(pf_init_status, 0); |
no test coverage detected