Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请注意:
LC_ALL
C
如何在我的 Jamfile 中执行此操作?
我在这里找到了一个名为 的选项testing.arg,您可以在启动之前使用它向 UnitTest 的可执行文件发送参数。
testing.arg
在这里,您可以找到可以在 UnitTest 的命令行中使用以下语法设置环境变量的信息--<command_line_argument_name>=<argument_value>。
--<command_line_argument_name>=<argument_value>
通过结合这两个信息,我们可以假设这将帮助您:
unit-test helpers_test : helpers_test.cpp helpers : <testing.arg>"--LC_ALL=C" ; ``