summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_headerunits.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-13 22:44:57 +0800
committerruki <[email protected]>2025-01-13 22:44:57 +0800
commita0e5f4def3e2f2464069d1a82810825137b4cdec (patch)
tree62d92d709cab734166e482823c8f4dc5001af901 /tests/projects/c++/modules/test_headerunits.lua
parenta63b9985d18531937fac56437f8baf71a879883b (diff)
show clang version
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 70e8b3d51..3a772d514 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, "15.0") >= 0 then
+ if semver.compare(clang.version, "16.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")