From 66f619cf51904d412a4e7a8aaa8921e633ddc099 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Tue, 9 Apr 2024 13:40:52 +0200 Subject: [PATCH] test llvmpipe --- .builds/test.yml | 5 ++-- Cargo.toml | 10 +++---- src/it/tests.rs | 76 ++++++++++++++++++++++++------------------------ 3 files changed, 45 insertions(+), 46 deletions(-) diff --git a/.builds/test.yml b/.builds/test.yml index 7bb6dd49..74f0d5c5 100644 --- a/.builds/test.yml +++ b/.builds/test.yml @@ -4,7 +4,7 @@ sources: tasks: - install: | sudo pacman -Syu --noconfirm - sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon xorg-xwayland adwaita-icon-theme libxcursor cmake + sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon xorg-xwayland adwaita-icon-theme libxcursor cmake apitrace rustup toolchain install stable - configure: | sudo rmmod bochs @@ -16,5 +16,4 @@ tasks: - test: | cd jay export RUST_BACKTRACE=1 - export GALLIUM_DRIVER=softpipe - ./target/debug/jay run-tests + apitrace trace --api egl ./target/debug/jay run-tests diff --git a/Cargo.toml b/Cargo.toml index 951f8368..05b4f488 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,11 +67,11 @@ cc = "1.0.86" #[profile.dev.build-override] #opt-level = 3 -[profile.dev.package."jay-algorithms"] -opt-level = 3 - -[profile.dev.package."smallvec"] -opt-level = 3 +# [profile.dev.package."jay-algorithms"] +# opt-level = 3 +# +# [profile.dev.package."smallvec"] +# opt-level = 3 [features] rc_tracking = [] diff --git a/src/it/tests.rs b/src/it/tests.rs index 6756d8ea..3fef05d0 100644 --- a/src/it/tests.rs +++ b/src/it/tests.rs @@ -90,44 +90,44 @@ pub fn tests() -> Vec<&'static dyn TestCase> { } tests! { - t0001_shm_formats, - t0002_window, - t0003_multi_window, - t0004_quit, - t0005_create_seat, - t0006_region, - t0007_subsurface, - t0008_map_focus, - t0009_tab_focus, - t0010_fullscreen_focus, - t0011_set_keymap, - t0012_subsurface_focus, - t0013_graphics_initialized, - t0014_container_scroll_focus, - t0015_scroll_partial, - t0016_scroll_ws, - t0017_remove_unused_ws, - t0018_click_to_active_ws, - t0019_natural_scrolling, - t0020_surface_offset, - t0021_preferred_buffer_scale, - t0022_toplevel_suspended, - t0023_xdg_activation, - t0024_foreign_toplevel_list, - t0025_dnd_focus_change, - t0026_output_transform, - t0027_input_region, - t0028_top_level_restacking, - t0029_double_click_float, - t0030_cursor_shape, - t0031_syncobj, - t0032_data_control, - t0033_float_size_memoization, - t0034_workspace_restoration, - t0035_scanout_feedback, - t0036_idle, - t0037_toplevel_drag, - t0038_subsurface_parent_state, + // t0001_shm_formats, + // t0002_window, + // t0003_multi_window, + // t0004_quit, + // t0005_create_seat, + // t0006_region, + // t0007_subsurface, + // t0008_map_focus, + // t0009_tab_focus, + // t0010_fullscreen_focus, + // t0011_set_keymap, + // t0012_subsurface_focus, + // t0013_graphics_initialized, + // t0014_container_scroll_focus, + // t0015_scroll_partial, + // t0016_scroll_ws, + // t0017_remove_unused_ws, + // t0018_click_to_active_ws, + // t0019_natural_scrolling, + // t0020_surface_offset, + // t0021_preferred_buffer_scale, + // t0022_toplevel_suspended, + // t0023_xdg_activation, + // t0024_foreign_toplevel_list, + // t0025_dnd_focus_change, + // t0026_output_transform, + // t0027_input_region, + // t0028_top_level_restacking, + // t0029_double_click_float, + // t0030_cursor_shape, + // t0031_syncobj, + // t0032_data_control, + // t0033_float_size_memoization, + // t0034_workspace_restoration, + // t0035_scanout_feedback, + // t0036_idle, + // t0037_toplevel_drag, + // t0038_subsurface_parent_state, t0039_alpha_modifier, } }