cchung100m commented on pull request #5501: URL: https://github.com/apache/incubator-tvm/pull/5501#issuecomment-626216151
Hi @zhiics The current work cannot pass the testing as below: https://github.com/apache/incubator-tvm/blob/f939c61805e77f1f63ec44676c4e936a94055908/tests/cpp/expr_test.cc#L34 I don't know why the output `os.str()` is `"max((("x" + 1) + 2), 100)"`, I would appreciate if you can guide me to solve the potential mistakes, many thanks. ### Error Message: ``` [ RUN ] Expr.Basic unknown file: Failure C++ exception with description "[02:13:28] /Users/cch/Downloads/tvm/tests/cpp/expr_test.cc:34: Check failed: os.str() == "max(((x + 1) + 2), 100)": Stack trace: [bt] (0) 1 expr_test 0x000000010cf57f90 dmlc::LogMessageFatal::~LogMessageFatal() + 112 [bt] (1) 2 expr_test 0x000000010cf56564 Expr_Basic_Test::TestBody() + 996 [bt] (2) 3 expr_test 0x000000010cfe22ae void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 126 [bt] (3) 4 expr_test 0x000000010cf7a96b void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 123 [bt] (4) 5 expr_test 0x000000010cf7a8a3 testing::Test::Run() + 211 [bt] (5) 6 expr_test 0x000000010cf7c9df testing::TestInfo::Run() + 223 [bt] (6) 7 expr_test 0x000000010cf7e6b4 testing::TestSuite::Run() + 260 [bt] (7) 8 expr_test 0x000000010cf9aa68 testing::internal::UnitTestImpl::RunAllTests() + 1656 [bt] (8) 9 expr_test 0x000000010cfe5aee bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 126 " thrown in the test body. [ FAILED ] Expr.Basic (2 ms) ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
