summaryrefslogtreecommitdiff
path: root/include/task_id.h
diff options
context:
space:
mode:
authorChris Chen <twothreecc@google.com>2016-07-06 14:07:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-09 01:41:01 -0700
commitaae621d6c52467bb814b12d73a1851463d9b4a58 (patch)
treea5d6e2ed469202d9ab3dc7680579f40916f2b5bd /include/task_id.h
parent24abdc9a4e2dc056815feea2150b1d50f4d7c836 (diff)
downloadchrome-ec-aae621d6c52467bb814b12d73a1851463d9b4a58.tar.gz
cts: First patch flashes blank tests
The first time you use this with a particular th, connect only th and run ./cts.py --th Then connect both boards and you can run ./cts.py to build/flash both boards. BRANCH=None BUG=None TEST=manual - Enter chroot - Navigate to ec/cts - Connect only th - 'sudo ./cts.py --th' - './cts.py -b' - Exit chroot - Connect both boards - './cts.py -f' Each board should flash successfully Change-Id: Ib14fccabcd9fdad04f9b92817da597bc0dcb3d89 Reviewed-on: https://chromium-review.googlesource.com/358100 Commit-Ready: Chris Chen <twothreecc@google.com> Tested-by: Chris Chen <twothreecc@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/task_id.h')
-rw-r--r--include/task_id.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/task_id.h b/include/task_id.h
index db9ef7b3b1..34f24f097d 100644
--- a/include/task_id.h
+++ b/include/task_id.h
@@ -17,6 +17,12 @@
#define CONFIG_TEST_TASK_LIST
#endif
+#ifdef CTS_MODULE
+#define TASK_CTS TASK
+#else
+#define TASK_CTS(n, r, d, s)
+#endif
+
#define TASK_ALWAYS TASK
/* define the name of the header containing the list of tasks */