dotCooCoo
23b10d78fb
craft-ui: unit tests that render take turns with the wgpu renderer
...
Each egui_kittest wgpu renderer creates its own Vulkan instance and
device. When one test uses its device while a test on another thread
creates or destroys one, the Vulkan loader now and then crashes the test
binary with SIGSEGV. The previous commit serialized the four rendering
tests in tests/visual_regression.rs; the craft-ui unit test binary has
the same pattern in two tests:
combo::tests::the_button_and_menu_look_like_eguis and
tabs::dialog::tests::selected_tab_erases_a_baseline_centered_on_its_bottom_edge.
Both now take crate::gpu_test_lock() before building their harness and
hold it until the harness is dropped. The comment on the lock in
visual_regression.rs now names the loader race instead of concurrent
rendering alone.
2026-11-13 06:05:11 -08:00
..
2026-11-12 07:49:33 -05:00
2026-11-11 19:01:12 -05:00
2026-11-11 17:42:11 -05:00
2026-11-11 18:08:00 -05:00
2026-11-12 10:38:30 -05:00
2026-11-13 05:46:15 -05:00
2026-11-11 21:38:01 -05:00
2026-11-12 06:25:55 -05:00
2026-11-13 03:13:53 +00:00
2026-11-11 20:17:35 -05:00
2026-11-12 11:26:10 -05:00
2026-11-11 18:07:00 -05:00
2026-11-11 20:51:12 -05:00
2026-11-13 11:55:14 +00:00
2026-11-07 15:48:07 +01:00
2026-11-11 22:43:11 -05:00
2026-11-12 19:19:53 -05:00
2026-11-11 21:36:33 -05:00
2026-11-11 18:38:46 -05:00
2026-11-13 02:54:31 -05:00
2026-11-13 07:35:46 -05:00
2026-11-13 07:35:46 -05:00
2026-11-11 20:07:35 -05:00
2026-11-11 19:46:19 -05:00
2026-11-11 20:25:48 -05:00
2026-11-12 06:26:14 -05:00
2026-11-13 11:36:14 +00:00
2026-11-11 20:05:20 -05:00
2026-11-13 01:53:37 -05:00
2026-11-12 10:05:07 -05:00
2026-11-11 20:41:34 -05:00
2026-11-11 19:20:26 -05:00
2026-11-12 10:10:35 -05:00
2026-11-12 10:06:20 -05:00
2026-11-11 17:07:37 -05:00
2026-11-11 17:29:14 -05:00
2026-11-11 20:43:12 -05:00
2026-11-11 18:41:32 -05:00
2026-11-11 21:58:39 -05:00
2026-11-11 21:33:47 -05:00
2026-11-11 06:17:52 -05:00
2026-11-11 19:30:23 -05:00
2026-11-11 20:35:11 -05:00
2026-11-13 01:31:26 -05:00
2026-11-11 19:45:03 -05:00
2026-11-13 10:49:21 +00:00
2026-11-13 02:17:30 -05:00
2026-11-11 17:46:14 -05:00
2026-11-13 03:13:53 +00:00
2026-11-13 03:13:53 +00:00
2026-11-11 18:47:08 -05:00
2026-11-11 20:46:15 -05:00
2026-11-13 02:03:31 -05:00
2026-11-11 21:30:41 -05:00
2026-11-13 07:34:28 +01:00
2026-11-11 19:46:48 -05:00
2026-11-13 02:17:30 -05:00
2026-11-11 22:07:26 -05:00
2026-11-13 06:05:42 +00:00
2026-11-11 21:57:52 -05:00
2026-11-11 20:17:35 -05:00
2026-11-11 21:39:13 -05:00
2026-11-11 20:16:51 -05:00
2026-11-11 18:43:46 -05:00
2026-11-11 21:01:51 -05:00
2026-11-13 03:47:36 +00:00
2026-11-13 03:13:53 +00:00
2026-11-13 02:27:57 -05:00
2026-11-07 15:44:13 +01:00
2026-11-13 05:42:34 -05:00
2026-11-12 06:26:30 -05:00
2026-11-11 20:59:00 -05:00
2026-11-12 09:45:31 -05:00
2026-11-13 02:17:30 -05:00
2026-11-12 10:37:13 -05:00
2026-11-13 03:13:53 +00:00
2026-11-12 05:35:48 -05:00
2026-11-11 18:55:20 -05:00
2026-11-12 10:41:24 -05:00
2026-11-12 10:05:25 -05:00
2026-11-13 03:13:53 +00:00
2026-11-13 02:17:30 -05:00
2026-11-11 18:43:21 -05:00
2026-11-13 02:03:55 -05:00
2026-11-12 06:22:37 -05:00
2026-11-11 22:44:19 -05:00
2026-11-13 09:21:57 +00:00
2026-11-11 21:58:16 -05:00
2026-11-11 21:07:34 -05:00
2026-11-11 06:40:49 -05:00
2026-11-11 20:30:38 -05:00
2026-11-13 04:34:44 -05:00
2026-11-13 04:13:55 -05:00
2026-11-11 20:41:56 -05:00
2026-11-13 07:35:46 -05:00
2026-11-11 16:40:42 -05:00
2026-11-11 19:19:30 -05:00
2026-11-11 18:39:14 -05:00
2026-11-11 19:43:41 -05:00
2026-11-13 10:50:15 +00:00
2026-11-13 07:47:44 +00:00
2026-11-13 06:05:11 -08:00
2026-11-12 10:36:47 -05:00
2026-11-11 18:50:38 -05:00
2026-11-07 15:43:45 +01:00
2026-11-11 16:23:23 -05:00
2026-11-13 05:41:51 -05:00
2026-11-12 10:06:13 -05:00
2026-11-12 10:43:32 -05:00
2026-11-11 21:30:17 -05:00
2026-11-12 10:37:27 -05:00
2026-11-11 21:32:31 -05:00
2026-11-12 06:26:24 -05:00
2026-11-13 02:17:30 -05:00
2026-11-11 22:44:39 -05:00
2026-11-11 20:46:37 -05:00
2026-11-11 18:44:44 -05:00
2026-11-13 12:31:13 +00:00