From 7359377f1d9bec25c60e0ab2f3cb8bfeb47c5518 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Thu, 4 Apr 2024 18:16:54 +0200 Subject: [PATCH] test vgem --- .builds/test.yml | 5 +++-- src/it/tests/t0031_syncobj.rs | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.builds/test.yml b/.builds/test.yml index 446d1f25..b58cb2f4 100644 --- a/.builds/test.yml +++ b/.builds/test.yml @@ -8,8 +8,9 @@ tasks: rustup toolchain install stable - configure: | sudo rmmod bochs - sudo modprobe vkms - sudo chmod o+rw /dev/dri/card* + sudo modprobe vgem + sudo chmod a+rw /dev/dri/* + sudo rm /dev/dri/renderD* - build: | cd jay cargo build --features it diff --git a/src/it/tests/t0031_syncobj.rs b/src/it/tests/t0031_syncobj.rs index a0889ca5..38190654 100644 --- a/src/it/tests/t0031_syncobj.rs +++ b/src/it/tests/t0031_syncobj.rs @@ -26,8 +26,7 @@ async fn test(run: Rc) -> TestResult { let syncobj = match eng.sync_obj_ctx().create_sync_obj() { Ok(s) => Rc::new(s), Err(e) => { - log::warn!("Cannot test explicit sync on this system: {}", ErrorFmt(e)); - return Ok(()); + bail!("Cannot test explicit sync on this system: {}", ErrorFmt(e)); } }; let _wait_handle =