diff options
author | Chris Chen <twothreecc@google.com> | 2016-07-06 14:07:00 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-09 01:41:01 -0700 |
commit | aae621d6c52467bb814b12d73a1851463d9b4a58 (patch) | |
tree | a5d6e2ed469202d9ab3dc7680579f40916f2b5bd /Makefile.toolchain | |
parent | 24abdc9a4e2dc056815feea2150b1d50f4d7c836 (diff) | |
download | chrome-ec-aae621d6c52467bb814b12d73a1851463d9b4a58.tar.gz |
cts: First patch flashes blank tests
The first time you use this with a particular th,
connect only th and run ./cts.py --th
Then connect both boards and you can run
./cts.py to build/flash both boards.
BRANCH=None
BUG=None
TEST=manual
- Enter chroot
- Navigate to ec/cts
- Connect only th
- 'sudo ./cts.py --th'
- './cts.py -b'
- Exit chroot
- Connect both boards
- './cts.py -f'
Each board should flash successfully
Change-Id: Ib14fccabcd9fdad04f9b92817da597bc0dcb3d89
Reviewed-on: https://chromium-review.googlesource.com/358100
Commit-Ready: Chris Chen <twothreecc@google.com>
Tested-by: Chris Chen <twothreecc@google.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r-- | Makefile.toolchain | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain index 5956c7ad26..26e9c57690 100644 --- a/Makefile.toolchain +++ b/Makefile.toolchain @@ -35,6 +35,7 @@ CFLAGS_DEBUG= -g CFLAGS_INCLUDE=$(foreach i,$(includes),-I$(i) ) -I. CFLAGS_TEST=$(if $(TEST_BUILD),-DTEST_BUILD \ -DTEST_TASKFILE=$(PROJECT).tasklist,) \ + $(if $(CTS_MODULE), -DCTS_MODULE=$(CTS_MODULE)) \ $(if $(EMU_BUILD),-DEMU_BUILD) \ $(if $($(PROJECT)-scale),-DTEST_TIME_SCALE=$($(PROJECT)-scale)) \ -DTEST_$(PROJECT) -DTEST_$(UC_PROJECT) |