Skip to content

Commit

Permalink
Update winit_test and re-enable tests/present_and_fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Nov 14, 2023
1 parent 800f640 commit cc7d1bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ jobs:
targets: ${{ matrix.platform.target }}
components: clippy, rust-src

- name: Install libwayland
- name: Install libwayland and xkbcommon
if: (matrix.platform.os == 'ubuntu-latest')
run: sudo apt-get update && sudo apt-get install libwayland-dev
run: sudo apt-get update && sudo apt-get install libwayland-dev libxkbcommon-x11-dev

- name: Install GCC Multilib
if: (matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686')
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ colorous = "1.0.12"
criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] }
instant = "0.1.12"
winit = "0.29.2"
winit-test = "0.1.0"
winit-test = "0.2.0"

[dev-dependencies.image]
version = "0.24.6"
Expand Down
5 changes: 0 additions & 5 deletions tests/present_and_fetch.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// TODO: Once winit is updated again, restore this test.
/*
use softbuffer::{Context, Surface};
use std::num::NonZeroU32;
use winit::event_loop::EventLoopWindowTarget;
Expand Down Expand Up @@ -56,6 +54,3 @@ fn all_red(elwt: &EventLoopWindowTarget<()>) {
}

winit_test::main!(all_red);
*/

fn main() {}

0 comments on commit cc7d1bc

Please sign in to comment.