summaryrefslogtreecommitdiff
path: root/cts/hook/cts.testlist
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2017-06-22 11:52:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-06-27 15:52:05 -0700
commit4c23fa01df623438e7d2bfe51dec6eac4f7d9ff2 (patch)
treed752067b19066f238b99757f792b4e1c19e4b97a /cts/hook/cts.testlist
parent3fdf85ece7c14d5fd813783d5fa67e2558ea9ecd (diff)
downloadchrome-ec-4c23fa01df623438e7d2bfe51dec6eac4f7d9ff2.tar.gz
eCTS: Convert hook test suite to current format
This patch updates the hook test suite so that it can be run within the current framework. BUG=chromium:736047 BRANCH=none TEST=cts.py -m hook test name TH_RETURN_CODE DUT_RETURN_CODE TH_STR DUT_STR RESULT test_init_hook SUCCESS SUCCESS 1 1 PASS test_ticks SUCCESS SUCCESS 1 1 PASS test_priority SUCCESS SUCCESS 1 1 PASS test_deferred SUCCESS SUCCESS 1 1 PASS Change-Id: I3e7f29da61e794b06b03241f3d7706c2db94b5be Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/545084
Diffstat (limited to 'cts/hook/cts.testlist')
-rw-r--r--cts/hook/cts.testlist24
1 files changed, 24 insertions, 0 deletions
diff --git a/cts/hook/cts.testlist b/cts/hook/cts.testlist
new file mode 100644
index 0000000000..97b25575d4
--- /dev/null
+++ b/cts/hook/cts.testlist
@@ -0,0 +1,24 @@
+/* Copyright 2017 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 HOOK_INIT
+ */
+CTS_TEST(test_init_hook,,,,)
+
+/*
+ * Test HOOK_TICK and HOOK_SECOND
+ */
+CTS_TEST(test_ticks,,,,)
+
+/*
+ * Test hook priority
+ */
+CTS_TEST(test_priority,,,,)
+
+/*
+ * Test deferred calls
+ */
+CTS_TEST(test_deferred,,,,) \ No newline at end of file