| 322 | } |
| 323 | |
| 324 | static int64_t add_keyed(cbm_store_t *s, const char *name, const char *key) { |
| 325 | char qn[64]; |
| 326 | char props[128]; |
| 327 | snprintf(qn, sizeof(qn), "test.%s", name); |
| 328 | snprintf(props, sizeof(props), "{\"variant_key\":\"%s\"}", key); |
| 329 | cbm_node_t node = {.project = "test", |
| 330 | .label = "Function", |
| 331 | .name = name, |
| 332 | .qualified_name = qn, |
| 333 | .properties_json = props}; |
| 334 | return cbm_store_upsert_node(s, &node); |
| 335 | } |
| 336 | |
| 337 | TEST(impact_walk_crosses_platform_variants_only_when_asked) { |
| 338 | /* pick_win and pick_posix are the platform variants of one function (one |
no test coverage detected