mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
Don't run headless test on linux
This commit is contained in:
@@ -8,8 +8,9 @@ mod gl {
|
||||
}
|
||||
use gl::types::*;
|
||||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
#[test]
|
||||
fn main() {
|
||||
fn test_headless() {
|
||||
let width: i32 = 2;
|
||||
let height: i32 = 1;
|
||||
let window = glutin::HeadlessRendererBuilder::new(width as u32, height as u32).build().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user