summaryrefslogtreecommitdiff
path: root/test/usb_pd_timer.tasklist
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2021-09-22 13:13:45 -0600
committerCommit Bot <commit-bot@chromium.org>2021-10-26 21:31:21 +0000
commit1f1103b4b875a4ce12fb666fa69572747e02996c (patch)
tree6c46879812c319dc80d6b416e37383ad3478cc5c /test/usb_pd_timer.tasklist
parent3e21911a0bfecd03957ecb6d9d0bdd77e469bc09 (diff)
downloadchrome-ec-1f1103b4b875a4ce12fb666fa69572747e02996c.tar.gz
TCPMv2: Add PD timer unit test
Basic checks to verify setting/clearing bits for all of the currently allocated PD timers works properly BUG=b:141363146 BRANCH=none TEST=make run-usb_pd_timer Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: I22e237d367a3b3cb28c4a9d88d6c5c375f3b44cf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3176394 Tested-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Yuval Peress <peress@google.com> Commit-Queue: Denis Brockus <dbrockus@chromium.org> Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'test/usb_pd_timer.tasklist')
-rw-r--r--test/usb_pd_timer.tasklist10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/usb_pd_timer.tasklist b/test/usb_pd_timer.tasklist
new file mode 100644
index 0000000000..9a1e6b3e08
--- /dev/null
+++ b/test/usb_pd_timer.tasklist
@@ -0,0 +1,10 @@
+/* Copyright 2021 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.
+ */
+
+/**
+ * See CONFIG_TASK_LIST in config.h for details.
+ */
+#define CONFIG_TEST_TASK_LIST
+