From 1c6398f0ad99a00788efab9520088b7f52a4d36e Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 13 Jan 2025 22:47:23 +0800 Subject: [PATCH] fix test --- tests/projects/c++/modules/test_headerunits.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 3a772d5148..b13b22a7f6 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -51,7 +51,7 @@ function main(t) end local clang = find_tool("clang", {version = true}) if clang and clang.version then - if semver.compare(clang.version, "16.0") >= 0 then + if semver.compare(clang.version, "19.0") >= 0 then os.exec("xmake clean -a") -- clang-scan-deps dependency detection doesn't support header units atm os.exec("xmake f --toolchain=clang --policies=build.c++.clang.fallbackscanner -c --yes")