diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2017-06-22 11:52:00 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-27 15:52:05 -0700 |
commit | 4c23fa01df623438e7d2bfe51dec6eac4f7d9ff2 (patch) | |
tree | d752067b19066f238b99757f792b4e1c19e4b97a /cts/common | |
parent | 3fdf85ece7c14d5fd813783d5fa67e2558ea9ecd (diff) | |
download | chrome-ec-4c23fa01df623438e7d2bfe51dec6eac4f7d9ff2.tar.gz |
eCTS: Convert hook test suite to current format
This patch updates the hook test suite so that it can be run
within the current framework.
BUG=chromium:736047
BRANCH=none
TEST=cts.py -m hook
test name TH_RETURN_CODE DUT_RETURN_CODE TH_STR DUT_STR RESULT
test_init_hook SUCCESS SUCCESS 1 1 PASS
test_ticks SUCCESS SUCCESS 1 1 PASS
test_priority SUCCESS SUCCESS 1 1 PASS
test_deferred SUCCESS SUCCESS 1 1 PASS
Change-Id: I3e7f29da61e794b06b03241f3d7706c2db94b5be
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/545084
Diffstat (limited to 'cts/common')
-rw-r--r-- | cts/common/cts_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cts/common/cts_common.h b/cts/common/cts_common.h index 607adbc623..3c24b815e7 100644 --- a/cts/common/cts_common.h +++ b/cts/common/cts_common.h @@ -12,6 +12,8 @@ #define CPUTS(outstr) cputs(CC_SYSTEM, outstr) #define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args) #define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args) +#define CPRINTL(format, args...) CPRINTS("%s:%d: "format, \ + __func__, __LINE__, ## args) #ifdef CTS_DEBUG /* These debug tags should not be changed */ |