代码拉取完成,页面将自动刷新
-- set_policy("test.stop_on_first_failure", true)
includes("app_config")
includes("batch")
includes("checkpoint")
includes("common")
includes("compression")
includes("config")
includes("container_manager")
includes("controller")
includes("event")
includes("event_handler")
includes("file_source")
includes("flusher")
includes("input")
includes("metadata")
includes("ebpf")
includes("log_pb")
includes("models")
includes("monitor")
includes("pipeline")
includes("instance_config")
includes("plugin")
includes("polling")
includes("processor")
includes("provider")
includes("queue")
includes("reader")
includes("sender")
includes("serializer")
includes("prometheus")
includes("route")
includes("task_pipeline")
includes("host_monitor")
if not has_config("WITHOUT_SPL") then
includes("spl")
end
target("unittest_base")
set_kind("static")
on_config(function (target)
import("util")
util.add_framwork_files(target, false)
util.add_common_files(target, false)
util.add_plugin_files(target, false)
end)
set_options("WITHOUT_SPL")
add_options("WITH_CIX")
add_includedirs("../", "../config", {public = true})
add_defines("LOGTAIL_NO_TC_MALLOC", "APSARA_UNIT_TEST_MAIN", {public = true})
add_deps("provider")
add_cxflags("-Wno-delete-abstract-non-virtual-dtor", "-Wno-defaulted-function-deleted", "-Wno-deprecated-declarations", {public = true})
add_packages("gtest", {public = true})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。