summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_headerunits.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-13 22:47:23 +0800
committerruki <[email protected]>2025-01-13 22:47:23 +0800
commit1c6398f0ad99a00788efab9520088b7f52a4d36e (patch)
tree3d8ce9e2bf75ee58fa2f3992db6c289c603471d1 /tests/projects/c++/modules/test_headerunits.lua
parenta0e5f4def3e2f2464069d1a82810825137b4cdec (diff)
fix test
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
-rw-r--r--tests/projects/c++/modules/test_headerunits.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua
index 3a772d514..b13b22a7f 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")