chrome-ec/cts
Daisuke Nojiri b20a873d0f eCTS: Run openocd and lsusb as a root
Running lsusb (to get iSerial) and openocd requires a privilege.
This patch makes cts.py run these commands as a root. Opening
ttyACM0 requires a privilege as well but it'll be done by asking
a user to add themselves to dialout group.

BUG=chromium:664309
BRANCH=none
TEST=Run cts.py on a freshly set up cros_sdk chroot.

Change-Id: Ib9d007459c4b1322b15f521a5253d833e2304c3c
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/558804
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2017-07-08 20:38:53 -07:00
..
common eCTS: Run openocd and lsusb as a root 2017-07-08 20:38:53 -07:00
gpio eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
hook eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
i2c eCTS: Add I2C suite to run_ects.py 2017-06-28 21:50:50 -07:00
interrupt eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
meta eCTS: Fix alignment of test results 2017-06-28 00:59:06 -07:00
mutex eCTS: Convert mutex test suite to current format 2017-06-27 15:52:06 -07:00
task eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
timer eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
README cts: First patch flashes blank tests 2016-07-09 01:41:01 -07:00
build.mk eCTS: Print start marker before sync 2017-06-27 15:52:06 -07:00
cts.py eCTS: Use proper methods to reset boards 2017-06-28 21:50:51 -07:00
cts.tasklist Add cts.tasklist 2016-07-11 21:27:46 -07:00

README

The first time you use this with a particular th,
connect only th and run ./cts/cts.py --th from
the ec directory.

Then connect both boards and you can run
./cts/cts to flash both boards.