summaryrefslogtreecommitdiff
path: root/cts/common/cts.rc
diff options
context:
space:
mode:
authorChris Chen <twothreecc@google.com>2016-07-12 12:36:55 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-26 19:42:33 -0700
commit7bd4984b011daa1c55716aec5a2677a4fe632a5c (patch)
treedbd9e07d442dc870c4163fd50528a778c62b4783 /cts/common/cts.rc
parent93de08545556296ea6e99ccf1dcc9a20ae286037 (diff)
downloadchrome-ec-7bd4984b011daa1c55716aec5a2677a4fe632a5c.tar.gz
cts: Added parsing for cts suites
Added test recording when calling reset from command line. These results are printed on the screen and saved in /tmp/results/<board>/<module>.txt BRANCH=None BUG=None TEST=Manual - Connect, build and flash boards - Navigate to ec/cts - ./cts.py --run - Find test results /tmp/results/<board>/<module>.txt - Tests names should be left aligned in one column and their results right aligned in a 2nd column Change-Id: I3429d6092f2bd5d5f6825245f5439ace3f47f1fa Reviewed-on: https://chromium-review.googlesource.com/360653 Commit-Ready: Chris Chen <twothreecc@google.com> Tested-by: Chris Chen <twothreecc@google.com> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'cts/common/cts.rc')
-rw-r--r--cts/common/cts.rc10
1 files changed, 8 insertions, 2 deletions
diff --git a/cts/common/cts.rc b/cts/common/cts.rc
index ec9bab76af..5154eb80e2 100644
--- a/cts/common/cts.rc
+++ b/cts/common/cts.rc
@@ -3,8 +3,14 @@
* found in the LICENSE file.
*/
-/* This file is included by cts_common.h as an enumeration of error codes. */
+/*
+ * This file is included by cts_common.h as an enumeration of error codes,
+ * as well as being processed by cts.py to get error code names.
+ * cts.py depends on CTS_RC_SUCCESS being the first error code listed so
+ * that its value
+ * is 0 when enumerated
+ */
+
CTS_RC_SUCCESS,
CTS_RC_FAILURE,
CTS_RC_BAD_SYNC,
-CTS_RC_UNKNOWN