summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2025-10-29 23:58:15 +0800
committerruki <[email protected]>2025-10-29 23:58:15 +0800
commitd6255d98b9a09366d238e8579b18be9add773222 (patch)
treeaf66755d792b12c4525812f88f12eca54392a804 /tests
parenta2974bf870a7ef03a5cf7c5154d65bc5a38b18fa (diff)
add progress.show_output
Diffstat (limited to 'tests')
-rw-r--r--tests/apis/custom_toolchain/xmake/modules/core/tools/cl6x.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/apis/custom_toolchain/xmake/modules/core/tools/cl6x.lua b/tests/apis/custom_toolchain/xmake/modules/core/tools/cl6x.lua
index ba6bc6e5e..37ceec0b8 100644
--- a/tests/apis/custom_toolchain/xmake/modules/core/tools/cl6x.lua
+++ b/tests/apis/custom_toolchain/xmake/modules/core/tools/cl6x.lua
@@ -183,10 +183,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
-- print some warnings
if warnings and #warnings > 0 and policy.build_warnings(opt) then
- if progress.showing_without_scroll() then
- print("")
- end
- cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
+ progress.show_output("${color.warning}%s", table.concat(table.slice(warnings:split('\n'), 1, 8), '\n'))
end
-- generate the dependent includes