-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
v2.9.2 单测运行失败问题 #5184
Comments
给个可复现的 demo |
https://github.com/TOMO-CAT/xmake-template/tree/main/endless_run_envs 这有一个 demo,在 v2.9.2 版本仅仅 10个 object 文件就已经有大量重复的环境变量了,我们的项目更多中间 target,可能正好越界。 |
Title: v2.9.2 single test run failure problem Xmake versionv2.9.2 Operating system version and architectureLinux 720ce3a659a2 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Describe the problemxmake test or xmake run fail to run single test: But manually executing a single test can be successful: During debugging, I found that there are 1200+ environment variables at runtime. I wonder if this is the cause of the single test failure? Expected resultsCan run single test normally Project configurationnone Additional information and error logsNo |
Give a reproducible demo |
再试试, |
|
Try again, |
|
Xmake 版本
v2.9.2
操作系统版本和架构
Linux 720ce3a659a2 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
描述问题
xmake test 或者 xmake run 运行单测都失败:
但是手动执行单测可以成功:
调试时发现运行时的环境变量有 1200+,怀疑是不是这里导致的单测失败?
期待的结果
能正常运行单测
工程配置
无
附加信息和错误日志
无
The text was updated successfully, but these errors were encountered: