diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-10-03 12:51:52 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-10-05 20:58:20 -0700 |
commit | 3afd683d683f482f003405c721800e3ba2ccb637 (patch) | |
tree | 0d4a7a23b273d09cbe46f49f5c41eb56ceb3db2b /cts/i2c/cts.testlist | |
parent | 8c22c2dcd7397cddd78e518f808212a0ac86df90 (diff) | |
download | chrome-ec-3afd683d683f482f003405c721800e3ba2ccb637.tar.gz |
cts: Add I2C tests for read8/16/32 and write8/16/32
This patch adds tests for i2c_read8/16/32 and i2c_write8/16/32.
BUG=chromium:653183
BRANCH=none
TEST=make buildall. Run cts.py -m i2c for 100kHz with 10k ohms
pull-up registers on SCL and SDA. TH=stm32l476g-eval DUT=nucleo-f072rb.
Change-Id: I8121b1c5dc7542da45141543e35036ef41364c38
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/393331
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'cts/i2c/cts.testlist')
-rw-r--r-- | cts/i2c/cts.testlist | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cts/i2c/cts.testlist b/cts/i2c/cts.testlist new file mode 100644 index 0000000000..79732dc65b --- /dev/null +++ b/cts/i2c/cts.testlist @@ -0,0 +1,14 @@ +/* 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. + */ + +/* Currently tests will execute in the order they are listed here */ + +/* Test whether sync completes successfully */ +CTS_TEST(write8_test) +CTS_TEST(write16_test) +CTS_TEST(write32_test) +CTS_TEST(read8_test) +CTS_TEST(read16_test) +CTS_TEST(read32_test)
\ No newline at end of file |