2

在某些模块的运行开始时,我收到以下警告:

W/InstrumentationTest:shell-timeout 应该大于 test-timeout 900000;注意:将 shell-timeout 延长至 990000,请考虑修复此问题!

我正在使用android-cts-7.1_r6,如何扩展shell-timeout值?

4

2 回答 2

0

shell-timeout并且test-timeout是在 CTS 配置文件中定义的值。这些配置文件随 CTS 一起提供,并且(我假设)不可编辑。

我相信你可以简单地忽略这个警告

这里是配置文件的快速列表:

$ grep -REI "shell-timeout|test-timeout" | cut -d':' -f1 | uniq
testcases/CtsSimpleCpuTestCases.config
testcases/CtsFileSystemTestCases.config
testcases/CtsAslrMallocTestCases.config
testcases/CtsMediaTestCases.config
testcases/CtsUiDeviceTestCases.config
testcases/CtsOpenGlPerf2TestCases.config
testcases/CtsMediaStressTestCases.config
testcases/CtsVideoTestCases.config
testcases/CtsSecurityTestCases.config
testcases/CtsCameraTestCases.config
testcases/CtsTvProviderTestCases.config
testcases/CtsLibcoreOjTestCases.config
testcases/CtsKeystoreTestCases.config
testcases/CtsLibcoreTestCases.config
testcases/CtsTvTestCases.config
testcases/CtsLibcoreOkHttpTestCases.config
testcases/CtsHardwareTestCases.config
于 2018-04-01T07:12:41.763 回答
0

我相信您需要将 export TMOUT= 添加到您的 .bashrc 文件中。

于 2017-08-17T18:14:21.473 回答