我已经多次针对 MSM 的 Aurora 4.2 构建运行 Android 4.2 R4 CTS 套件:完整套件 ( run cts --plan CTS
) 或单个包 ( run cts -p android.acceleration
)。这是在 Ubuntu 12.04 LTS 64 位(使用 VMWare Fusion v6 虚拟化)上
测试套件执行,通过,有时失败,但随后无法写入日志或生成报告数据:
cts-tf > run cts -p android.acceleration
04-02 13:42:20 I/TestInvocation: Starting invocation for 'cts' on build '4.2_r4' on device e05e1f79
04-02 13:42:20 I/e05e1f79: Created result dir 2014.04.02_13.42.20
04-02 13:42:33 I/e05e1f79: Collecting device info
04-02 13:42:34 I/e05e1f79: -----------------------------------------
04-02 13:42:34 I/e05e1f79: Test package android.acceleration started
04-02 13:42:34 I/e05e1f79: -----------------------------------------
04-02 13:42:37 I/e05e1f79: android.acceleration.cts.HardwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:37 I/e05e1f79: android.acceleration.cts.HardwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.SoftwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.SoftwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.WindowFlagHardwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:39 I/e05e1f79: android.acceleration.cts.WindowFlagHardwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:41 E/CtsXmlResultReporter: Failed to write log for device_logcat
04-02 13:42:41 E/CtsXmlResultReporter: Failed to write log for host_log
04-02 13:42:41 I/e05e1f79: android.acceleration package complete: Passed 6, Failed 0, Not Executed 0
04-02 13:42:41 I/e05e1f79: Created xml report file at file:///opt/android-cts/cts4.2/android-cts/tools/./../../android-cts/repository/results/2014.04.02_13.42.20/testResult.xml
04-02 13:42:41 E/CtsXmlResultReporter: Failed to generate report data
在 CTS /repository/logs
&/repository/results
目录中,没有新的日志或结果条目。令人惊讶的是,关于 的信息很少CtsXmlResultReporter
,所以我正在转向好的 ol' SO。任何人都可以帮忙吗?谢谢