From: Inki Dae Date: Mon, 5 Oct 2020 05:09:10 +0000 (+0900) Subject: test: fix a type X-Git-Tag: submit/tizen/20201104.021236~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F245164%2F1;p=platform%2Fcore%2Fmultimedia%2Finference-engine-interface.git test: fix a type Change-Id: Ia3ced406afc99243457377cde2459e13198f7d58 Signed-off-by: Inki Dae --- diff --git a/test/src/inference_engine_profiler.cpp b/test/src/inference_engine_profiler.cpp index 736f1fe..be6da43 100644 --- a/test/src/inference_engine_profiler.cpp +++ b/test/src/inference_engine_profiler.cpp @@ -72,7 +72,7 @@ TEST_P(InferenceEngineTfliteTest, Inference) } // If current machine doesn't support inference engine then skip this test. - if (Cap->avaliable == false) { + if (Cap->available == false) { return; } @@ -267,7 +267,7 @@ TEST_P(InferenceEngineCaffeTest, Inference) } // If current machine doesn't support inference engine then skip this test. - if (Cap->avaliable == false) { + if (Cap->available == false) { return; } @@ -464,7 +464,7 @@ TEST_P(InferenceEngineDldtTest, Inference) } // If current machine doesn't support inference engine then skip this test. - if (Cap->avaliable == false) { + if (Cap->available == false) { return; } diff --git a/test/src/inference_engine_tc.cpp b/test/src/inference_engine_tc.cpp index 337e83e..e6e2635 100644 --- a/test/src/inference_engine_tc.cpp +++ b/test/src/inference_engine_tc.cpp @@ -533,7 +533,7 @@ TEST_P(InferenceEngineTestCase_G6, Inference_P) } // If current machine doesn't support inference engine then skip this test. - if (Cap->avaliable == false) { + if (Cap->available == false) { return; } diff --git a/test/src/inference_engine_test_common.h b/test/src/inference_engine_test_common.h index dbd03bd..17f4116 100644 --- a/test/src/inference_engine_test_common.h +++ b/test/src/inference_engine_test_common.h @@ -47,7 +47,7 @@ enum { }; typedef struct _MachineCapacity { - bool avaliable; + bool available; bool has_gpu; bool has_npu; // TODO. @@ -84,4 +84,4 @@ int VerifyFacialLandmarkDetectionResults(tensor_t &outputData, int width); int VerifyPoseEstimationResults(tensor_t &outputData, std::vector &answers, - int height, int width); \ No newline at end of file + int height, int width);