Make the uapi test names consistent

The uapi tests should all be prefixed with `test_i915_uapi_`.
master
itycodes 3 weeks ago
parent 0386e4b7e2
commit ce809d4620

@ -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