diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2017-06-22 14:36:24 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-27 15:52:06 -0700 |
commit | a82421df00ac1834d0dc8a93f788c323b1bf1977 (patch) | |
tree | 3ce0268be0e05e9b53a6afe5565bbf3cf6e8a06d /Makefile.toolchain | |
parent | 4c23fa01df623438e7d2bfe51dec6eac4f7d9ff2 (diff) | |
download | chrome-ec-a82421df00ac1834d0dc8a93f788c323b1bf1977.tar.gz |
eCTS: Print start marker before sync
This patch makes each test print start marker before sync. This will
allow us to distinguish the failure before even sync is attempted
(CTS_RC_DID_NOT_START, thus probably caused by the previous test)
and the failure caused by the hanging partner, in which case the one
good and alive will be stuck in sync (and should return _DID_NOT_END
or even better _BAD_SYNC once we implement timeout in sync).
This patch also:
* Adds did_not_start_test to and removes debug_test from meta suite
* Consolidates test runner loops into common cts_main_loop
* Removes dut_common.h and th_common.h
* Removes debug print macro and CTS_DEBUG
* Replaces all infinite loops after tests with task_wait_event(-1)
* Removes meaningless comments and debug printfs
* Removes CTS_TEST_ID_*
* Adds sync() to task suite
BUG=chromium:736104
BRANCH=none
TEST=Run run_ects.sh and verify all tests pass
Change-Id: I6ccdf26afac6b8e8cb16483c5d75e4e77e7962f4
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/545176
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r-- | Makefile.toolchain | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain index 05d5d1255c..8bbac56dcd 100644 --- a/Makefile.toolchain +++ b/Makefile.toolchain @@ -43,7 +43,6 @@ CFLAGS_INCLUDE=$(foreach i,$(includes),-I$(i) ) -I. CFLAGS_TEST=$(if $(TEST_BUILD),-DTEST_BUILD \ -DTEST_TASKFILE=$(PROJECT).tasklist,) \ $(if $(CTS_MODULE), $(CFLAGS_CTS)) \ - $(if $(CTS_DEBUG), -DCTS_DEBUG=DEFINED) \ $(if $(EMU_BUILD),-DEMU_BUILD) \ $(if $($(PROJECT)-scale),-DTEST_TIME_SCALE=$($(PROJECT)-scale)) \ -DTEST_$(PROJECT) -DTEST_$(UC_PROJECT) |