message: Add an option to configure testing
diff: @@ -22,6 +22,8 @@ option(
  SURELOG_USE_HOST_FLATBUFFERS
  "Use flatbuffers library from host instead of third_party" OFF)
  +option(SURELOG_BUILD_TESTS "Enable testing." ON)
  +
  # TODO SURELOG_USE_HOST_CAPNP
  # TODO SURELOG_USE_HOST_ANTLR
  # TODO SURELOG_USE_HOST_UHDM
  @@ -518,6 +520,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux")
  target_link_libraries(surelog PRIVATE rt)
  endif()
  +if (SURELOG_BUILD_TESTS)
  # Unit tests
  enable_testing()
  include(GoogleTest)
  @@ -579,6 +582,7 @@ register_gtests(
  src/Utils/StringUtils_test.cpp
  src/Utils/NumUtils_test.cpp
  )
  +endif()
  if (NOT QUICK_COMP)
  target_link_libraries(hellosureworld surelog)
  