Skip to content

Commit

Permalink
Run nn_image_classification_winml only when winml is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
jianjunz committed Feb 5, 2024
1 parent 9732234 commit 4b456ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasi-nn/tests/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn nn_image_classification_named() {
run(NN_IMAGE_CLASSIFICATION_NAMED, true).unwrap()
}

#[cfg_attr(not(all(target_arch = "x86_64", target_os = "windows")), ignore)]
#[cfg_attr(not(feature = "winml"), ignore)]
#[test]
fn nn_image_classification_winml() {
run(NN_IMAGE_CLASSIFICATION_WINML, true).unwrap()
Expand Down

0 comments on commit 4b456ec

Please sign in to comment.