aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/compatibility/cts/run.html
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/compatibility/cts/run.html')
-rw-r--r--zh-cn/compatibility/cts/run.html19
1 files changed, 16 insertions, 3 deletions
diff --git a/zh-cn/compatibility/cts/run.html b/zh-cn/compatibility/cts/run.html
index c73168a1..f26137a6 100644
--- a/zh-cn/compatibility/cts/run.html
+++ b/zh-cn/compatibility/cts/run.html
@@ -172,6 +172,7 @@
<h2 id="using-cts-v2">使用 CTS v2 控制台</h2>
<p>对于 Android 7.0 或更高版本,您将使用 CTS v2。</p>
+
<h3 id="selecting_ctsv2_plans">选择计划</h3>
<p>您可以选择以下测试计划:</p>
<ul>
@@ -238,6 +239,11 @@
<p>如果连接了多台设备,则 CTS 主机将自动选择一台设备。</p></td>
</tr>
<tr>
+ <td><code>run retry</code></td>
+ <td><p><strong>对于 Android 9</strong>:重新尝试运行在以前的会话中失败或未执行的所有测试。例如,包含 TF 分片的 <code>run retry --retry <session id> -s<device serial></device></session></code> 或 <code>run retry --retry <session id> --shard-count</session></code>。</p>
+ <p>Android 9 不允许使用 <code>run cts --retry</code>。</p></td>
+ </tr>
+ <tr>
<td><code>--plan &lt;test_plan_name&gt;</code></td>
<td>运行指定的测试计划。</td>
</tr>
@@ -256,12 +262,19 @@
</tr>
<tr>
<td><code>--retry</code></td>
- <td>重新尝试运行在以前的会话中失败或未执行的所有测试。
- 使用 <code>list results</code> 获取会话 ID。</td>
+ <td>重新尝试运行在以前的会话中失败或未执行的所有测试。使用 <code>list results</code> 获取会话 ID。</td>
+ </tr>
+ <tr>
+ <td><code>--retry-type not_executed</code></td>
+ <td>仅重新尝试运行在以前的会话中未执行的测试。使用 <code>list results</code> 获取会话 ID。</td>
</tr>
<tr>
<td><code>--shards &lt;number_of_shards&gt;</code></td>
- <td>将 CTS 运行分为指定数量的独立块,以便在多台设备上并行运行。</td>
+ <td><strong>对于 Android 8.1 及更低版本</strong>:将 CTS 运行分为指定数量的独立块,以便在多台设备上并行运行。</td>
+ </tr>
+ <tr>
+ <td><code>--shard-count &lt;number_of_shards&gt;</code></td>
+ <td><strong>对于 Android 9</strong>:将 CTS 运行分为指定数量的独立块,以便在多台设备上并行运行。</td>
</tr>
<tr>
<td><code>--serial/-s &lt;deviceID&gt;</code></td>