Files
OpenCellular/cts
Chris Chen 67f6964aef 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>
2016-08-10 15:30:25 -07:00
..
2016-08-09 12:43:19 -07:00
2016-07-15 21:39:29 -07:00
2016-07-15 21:39:36 -07:00
2016-07-15 21:39:27 -07:00
2016-07-11 21:27:47 -07:00
2016-07-29 15:02:44 -07:00
2016-07-29 15:02:44 -07:00
2016-07-11 21:27:46 -07:00
2016-07-09 01:41:01 -07:00

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.