Compare commits

..

2 Commits

Author SHA1 Message Date
itycodes ce809d4620 Make the uapi test names consistent
3 weeks ago
itycodes 0386e4b7e2 Add the wrapper.h to .gitignore
3 weeks ago

1
.gitignore vendored

@ -1 +1,2 @@
/target /target
clib/wrapper.h

@ -40,7 +40,7 @@ fn test_i915_uapi_native_engine_info() {
} }
#[test] #[test]
fn test_i915_find_fd() { fn test_i915_uapi_find_fd() {
let fd = i915::find_fd().expect("Failed to find i915 fd"); let fd = i915::find_fd().expect("Failed to find i915 fd");
let drm_version = uapi::get_drm_version(fd.as_raw_fd()).expect("Failed to get drm version"); let drm_version = uapi::get_drm_version(fd.as_raw_fd()).expect("Failed to get drm version");
assert_eq!(drm_version.name.to_str().unwrap(), "i915"); assert_eq!(drm_version.name.to_str().unwrap(), "i915");

Loading…
Cancel
Save