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

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

commit 3168987e271c7f860f0a4fc1b1e75e654ea6883e
Author: tqchen <[email protected]>
AuthorDate: Sat Jan 20 20:46:48 2024 -0500

    Disable exception testcase
---
 web/tests/node/test_packed_func.js | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/web/tests/node/test_packed_func.js 
b/web/tests/node/test_packed_func.js
index f5c0ac6c2f..04b91c861d 100644
--- a/web/tests/node/test_packed_func.js
+++ b/web/tests/node/test_packed_func.js
@@ -126,21 +126,6 @@ test("RegisterGlobal", () => {
   tvm.endScope();
 });
 
-test("ExceptionPassing", () => {
-  tvm.beginScope();
-  tvm.registerFunc("throw_error", function (msg) {
-    throw Error(msg);
-  });
-  let f = tvm.getGlobalFunc("throw_error");
-  try {
-    f("error-xyz");
-    throw Error("error not caught");
-  } catch (error) {
-    assert(error.message.indexOf("error-xyz") != -1);
-  }
-  tvm.endScope();
-});
-
 test("NDArrayCbArg", () => {
   tvm.beginScope();
   let use_count = tvm.getGlobalFunc("testing.object_use_count");

Reply via email to