**When I run Gtest file build_module_test.cc ,I encounter this:**
Running main() from /home/qwe123/googletest/googletest/src/gtest_main.cc unknown file: Failure C++ exception with description "[11:59:42] /home/qwe123/TVMsrc/src/target/codegen.cc:60: --------------------------------------------------------------- An error occurred during the execution of TVM. For more information, please see: https://tvm.apache.org/docs/errors.html --------------------------------------------------------------- Check failed: (bf != nullptr) is false: target.build.llvm is not enabled Stack trace: 0: tvm::codegen::Build(tvm::IRModule, tvm::Target) at /home/qwe123/TVMsrc/src/target/codegen.cc:60 1: tvm::build(tvm::runtime::Map<tvm::Target, tvm::IRModule, void, void> const&, tvm::Target const&) at /home/qwe123/TVMsrc/src/driver/driver_api.cc:549 2: tvm::build(tvm::IRModule const&, tvm::Target const&, tvm::Target const&) at /home/qwe123/TVMsrc/src/driver/driver_api.cc:583 3: BuildModule_Basic_Test::TestBody() at /home/qwe123/TVMsrc/tests/cpp/build_module_test.cc:56 4: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 5: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) 6: testing::Test::Run() 7: testing::TestInfo::Run() 8: testing::TestSuite::Run() 9: testing::internal::UnitTestImpl::RunAllTests() 10: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 11: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) 12: testing::UnitTest::Run() 13: RUN_ALL_TESTS() 14: main 15: __libc_start_main 16: _start 17: 0xffffffffffffffff " thrown in the test body. **It seems that my llvm is not enable,so I try another python test:test_minimal_target_codegen_llvm.py, It works .** Launching pytest with arguments /home/qwe123/TVMsrc/tests/python/all-platform-minimal-test/test_minimal_target_codegen_llvm.py --no-header --no-summary -q in /home/qwe123/TVMsrc/tests/python/all-platform-minimal-test enabled targets: llvm; llvm -device=arm_cpu pytest marker: ============================= test session starts ============================== collecting ... collected 1 item test_minimal_target_codegen_llvm.py::test_llvm_add_pipeline PASSED [100%] ============================== 1 passed in 0.47s =============================== So why this happened? I am confused about this. My Python llvm test passed, but google test didn't! --- [Visit Topic](https://discuss.tvm.apache.org/t/cpptest-build-module-test-cc-check-failed/11881/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/2026702e8cab331c65acbbec21d32fc0e0f25cd695040b92464c21b941bd3110).