-
-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmake将xmake test程序的stdout输出存入/tmp导致/tmp目录被塞满 #5450
Comments
Title: xmake will store the stdout output of the xmake test program into /tmp, causing the /tmp directory to be filled up |
按理,不管 test 是否执行成功,tmpfile 都会自动删了的,不会无限增长才对。。你可以调下这里。。 xmake/xmake/actions/test/main.lua Line 89 in af3090a
|
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. . xmake/xmake/actions/test/main.lua Line 89 in af3090a
|
可能是因为程序死循环输出我手动CTRL+C了导致没有执行成功? |
Maybe it's because the program outputs in an infinite loop and I manually CTRL+C, causing the execution to fail? |
写代码时我经常使用stdout输出,有时候逻辑有问题容易死循环输出,tmp就满了,麻烦作者修复下,这很重要 |
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占用,都可以 |
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 |
That’s it, xmake update -s dev |
感谢您修复 |
Thanks for fixing |
Xmake 版本
操作系统版本和架构
描述问题
xmake test时程序输出stdout内容过多导致/tmp被塞满,导致其他程序无法使用/tmp
而且xmake报error中没有有关/tmp储存空间不足的报错信息,导致排错困难
谢谢你对C++开发构建工具的支持
期待的结果
我希望能把程序输出存入xmake.lua所在目录下
更好的报错信息支持
谢谢你对C++开发构建工具的支持
工程配置
附加信息和错误日志
同时df -h信息
The text was updated successfully, but these errors were encountered: