This is an automated email from the ASF dual-hosted git repository.

ashutoshp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new f674e12d1a [ETHOSN] Remove inference test (#13576)
f674e12d1a is described below

commit f674e12d1a20c817d643e47f35cfc69733326092
Author: Luke Hutton <[email protected]>
AuthorDate: Wed Dec 7 17:18:08 2022 +0000

    [ETHOSN] Remove inference test (#13576)
    
    This test was causing cpptest to fail without reporting the
    test as having failed. Looking back, this test doesn't really
    make much sense as we are passing a file descriptor stating
    that inference is running when it isn't. Therefore, removing
    the test.
---
 tests/cpp/runtime/contrib/ethosn/inference_test.cc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tests/cpp/runtime/contrib/ethosn/inference_test.cc 
b/tests/cpp/runtime/contrib/ethosn/inference_test.cc
index 95b27070e1..45a6bd0997 100644
--- a/tests/cpp/runtime/contrib/ethosn/inference_test.cc
+++ b/tests/cpp/runtime/contrib/ethosn/inference_test.cc
@@ -43,18 +43,6 @@ TEST(WaitForInference, InferenceScheduled) {
   ICHECK_EQ(result.GetErrorDescription(), "Timed out while waiting for the 
inference to complete.");
 }
 
-TEST(WaitForInference, InferenceRunning) {
-  const int inference_result = 1 /* Running */;
-  const int timeout = 0;
-
-  dl::Inference inference = dl::Inference(inference_result);
-  InferenceWaitStatus result = WaitForInference(&inference, timeout);
-
-  ASSERT_EQ(result.GetErrorCode(), InferenceWaitErrorCode::kTimeout);
-  std::cout << result.GetErrorDescription() << std::endl;
-  ICHECK_EQ(result.GetErrorDescription(), "Timed out while waiting for the 
inference to complete.");
-}
-
 TEST(WaitForInference, InferenceError) {
   const int inference_result = 3 /* Error */;
   const int timeout = 0;

Reply via email to