mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
Skip SetName test on inbox build (#10699)
This commit is contained in:
parent
5d8c5409ab
commit
9ad95bf068
1 changed files with 2 additions and 0 deletions
|
|
@ -1090,6 +1090,7 @@ static void SetIntraOpThreadSpinning() {
|
|||
}
|
||||
|
||||
static void SetName() {
|
||||
#ifndef BUILD_INBOX
|
||||
// load the model with name 'squeezenet_old'
|
||||
LearningModel model = nullptr;
|
||||
WINML_EXPECT_NO_THROW(APITest::LoadModel(L"model.onnx", model));
|
||||
|
|
@ -1111,6 +1112,7 @@ static void SetIntraOpThreadSpinning() {
|
|||
WINML_EXPECT_NO_THROW(APITest::LoadModel(L"model_name_changed.onnx", model_name_changed));
|
||||
model_name = model_name_changed.Name();
|
||||
WINML_EXPECT_EQUAL(model_name, new_name);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue