Skip to content

Commit c1353ce

Browse files
author
Charles Samuels
committed
the version function is not expected to work when pkgconfig is used
1 parent 76e74a1 commit c1353ce

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

intel-mkl-tool/src/entry.rs

+1-9
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl Entry {
154154

155155
/// Get MKL version info from its C header
156156
///
157-
/// - This will not work for OUT_DIR or XDG_DATA_HOME entry,
157+
/// - This will not work for OUT_DIR, XDG_DATA_HOME, or Pkgconfig entry,
158158
/// and returns Error in these cases
159159
pub fn version(&self) -> Result<(u32, u32)> {
160160
for (path, _) in &self.found_files() {
@@ -241,12 +241,4 @@ mod tests {
241241
fn with_mkl_availables() {
242242
assert_eq!(Entry::available().len(), 8);
243243
}
244-
245-
#[ignore]
246-
#[test]
247-
fn with_mkl_version() {
248-
for entry in Entry::available() {
249-
let _version = entry.version().unwrap();
250-
}
251-
}
252244
}

0 commit comments

Comments
 (0)