summaryrefslogtreecommitdiff
path: root/cts/timer/cts.testlist
diff options
context:
space:
mode:
Diffstat (limited to 'cts/timer/cts.testlist')
-rw-r--r--cts/timer/cts.testlist19
1 files changed, 19 insertions, 0 deletions
diff --git a/cts/timer/cts.testlist b/cts/timer/cts.testlist
new file mode 100644
index 0000000000..d4cb3c30b3
--- /dev/null
+++ b/cts/timer/cts.testlist
@@ -0,0 +1,19 @@
+/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/*
+ * Test timer accuracy
+ *
+ * After sync, DUT and TH start counting down one second. After one second,
+ * DUT raises GPIO level, which triggers an interrupt on TH. TH determines
+ * whether the test passes or not based on how much more or less time elapsed
+ * than one second.
+ *
+ * Requirements:
+ * - Sync connection
+ * - GPIO_OUTPUT connection for sending notification from DUT
+ * - Calibrated TH timer
+ */
+CTS_TEST(timer_calibration_test)