| 14833 | } |
| 14834 | |
| 14835 | static const cbm_gbuf_node_t *resolve_device_h_from(cbm_gbuf_t *gb) { |
| 14836 | atomic_int cancelled = 0; |
| 14837 | cbm_pipeline_ctx_t ctx = { |
| 14838 | .project_name = "p", |
| 14839 | .repo_path = "/tmp/p", |
| 14840 | .gbuf = gb, |
| 14841 | .registry = NULL, |
| 14842 | .cancelled = &cancelled, |
| 14843 | }; |
| 14844 | CBMImport imp = {0}; |
| 14845 | imp.module_path = "linux/device.h"; |
| 14846 | imp.local_name = "h"; |
| 14847 | return cbm_pipeline_resolve_import_node(&ctx, "arch/x/bugs.c", "p.arch.x.bugs.c.__file__", &imp, |
| 14848 | NULL); |
| 14849 | } |
| 14850 | |
| 14851 | TEST(pipeline_header_include_target_is_independent_of_registration_order) { |
| 14852 | cbm_gbuf_t *a = cbm_gbuf_new("p", "/tmp/cbm_include_order_a"); |
no test coverage detected