diff options
author | Chris Chen <twothreecc@google.com> | 2016-07-21 16:34:40 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-08-10 15:30:25 -0700 |
commit | 67f6964aefccb60eb7e1284da2186cb5d3b3dfbd (patch) | |
tree | 301e5312e4b065b7cb7818011025055d8e98e655 /test/button.tasklist | |
parent | c144822368a3b112c4aeaafd24f208e38b650fe9 (diff) | |
download | chrome-ec-67f6964aefccb60eb7e1284da2186cb5d3b3dfbd.tar.gz |
cts: Debug message support added to cts tests
You can now add debug messages into a cts test and
they will be displayed with the test report html page.
The macro to use is CTS_DEBUG_PRINTF
Adding debug messages can potentially change test
results by slowing down the test, so you can choose
when compiling a test suite if you want the debug
messages present or not by adding --debug as an
argument when you call ./cts --build.
BRANCH=None
BUG=None
TEST=Manual
- Add a debug statement to a test
- Build the test suite with --debug specified
- Flash the boards
- Run './cts/cts.py -r'
- Open /tmp/cts_results/<board_name>/<test_suite>.html
to view see your debug message for the test
Change-Id: Icad8e0ac5cc905010caa4e7616f81572ce6ac771
Reviewed-on: https://chromium-review.googlesource.com/362475
Commit-Ready: Chris Chen <twothreecc@google.com>
Tested-by: Chris Chen <twothreecc@google.com>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test/button.tasklist')
0 files changed, 0 insertions, 0 deletions