summaryrefslogtreecommitdiff
path: root/cts/common/dut_common.c
diff options
context:
space:
mode:
authorChris Chen <twothreecc@google.com>2016-07-11 14:52:05 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-15 21:39:16 -0700
commit846741eddbb28e6770532ab09fb64dc619c2f6e6 (patch)
tree2e8e9815341d82ff83214ba5b4d94ef6869bd748 /cts/common/dut_common.c
parentdb1b3b34c21530672118754e84ddbe879925542e (diff)
downloadchrome-ec-846741eddbb28e6770532ab09fb64dc619c2f6e6.tar.gz
cts: Added GPIO test suite
Contains code for all the gpio tests so far. Code in cts_task for th and dut is for testing purposes and test result reporting will be updated in the next patch. BRANCH=None BUG=None TEST=Manual - Connect handshake and gpio test lines between th and dut - Build tests - run 'cat /dev/ttyACM0' in one terminal - run 'cat /def/ttyACM1' in another - Flash boards - All test results should print either passed or unknown Change-Id: I7142fb87a6ce0a20c571cde608fbbe60e35898ea Reviewed-on: https://chromium-review.googlesource.com/359935 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'cts/common/dut_common.c')
-rw-r--r--cts/common/dut_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cts/common/dut_common.c b/cts/common/dut_common.c
index f8c18fd81c..9b0561eaa9 100644
--- a/cts/common/dut_common.c
+++ b/cts/common/dut_common.c
@@ -7,6 +7,7 @@
#include "timer.h"
#include "watchdog.h"
#include "cts_common.h"
+#include "dut_common.h"
/* Returns unknown because TH could potentially still get stuck
* even if the DUT completes the sync