Closed ZtRXR closed 1 month ago
Bot detected the issue body's language is not English, translate it automatically.
Title: xmake will store the stdout output of the xmake test program into /tmp, causing the /tmp directory to be filled up
按理,不管 test 是否执行成功,tmpfile 都会自动删了的,不会无限增长才对。。你可以调下这里。。
Bot detected the issue body's language is not English, translate it automatically.
It stands to reason that regardless of whether test is executed successfully, tmpfile will be automatically deleted and will not grow indefinitely. . You can adjust it here. .
可能是因为程序死循环输出我手动CTRL+C了导致没有执行成功? 那该如何解决
Bot detected the issue body's language is not English, translate it automatically.
Maybe it's because the program outputs in an infinite loop and I manually CTRL+C, causing the execution to fail? How to solve it
写代码时我经常使用stdout输出,有时候逻辑有问题容易死循环输出,tmp就满了,麻烦作者修复下,这很重要
Bot detected the issue body's language is not English, translate it automatically.
When writing code, I often use stdout output. Sometimes there is a problem with the logic and it is easy to output in an infinite loop. The tmp will be full. I would like the author to fix it. This is very important.
或者保证他不会占用过大空间,或者下次运行xmake任何命令时清空tmp占用,都可以
Bot detected the issue body's language is not English, translate it automatically.
Or make sure it doesn't take up too much space, or clear the tmp space when you run any xmake command next time.
可以了,xmake update -s dev
Bot detected the issue body's language is not English, translate it automatically.
That’s it, xmake update -s dev
感谢您修复
Bot detected the issue body's language is not English, translate it automatically.
Thanks for fixing
Xmake 版本
操作系统版本和架构
描述问题
xmake test时程序输出stdout内容过多导致/tmp被塞满,导致其他程序无法使用/tmp 而且xmake报error中没有有关/tmp储存空间不足的报错信息,导致排错困难 谢谢你对C++开发构建工具的支持
期待的结果
我希望能把程序输出存入xmake.lua所在目录下 更好的报错信息支持 谢谢你对C++开发构建工具的支持
工程配置
附加信息和错误日志
同时df -h信息