summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-22 14:15:01 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-22 20:50:43 +0000
commit62bbd1cd7626e6f59c5447b8f55dd8d4243349b7 (patch)
treedce9f2932700096044953f6b2d3383bead503e41 /test
parent08b6aaa308a0a5196746550616efae2557cc270f (diff)
downloadchrome-ec-62bbd1cd7626e6f59c5447b8f55dd8d4243349b7.tar.gz
Revert "console_channel.inc: Add more ifdef to reduce number of channels"
This reverts commit b5cebbaadb4966e9d1820b0dcabd690d3e5d762e. BUG=b:207391162 TEST=The chan output is the same on ToT and mp images. Change-Id: Ief9bc6f6c9b027284b423e46681c313fd3fd73aa Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3296743 Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/console_edit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/console_edit.c b/test/console_edit.c
index 607e67757e..69ed6d28fb 100644
--- a/test/console_edit.c
+++ b/test/console_edit.c
@@ -254,8 +254,8 @@ static int test_output_channel(void)
UART_INJECT("chan 0\n");
msleep(30);
test_capture_console(1);
- cprintf(CC_SYSTEM, "shouldn't see this\n");
- cputs(CC_TASK, "shouldn't see this either\n");
+ cprintf(CC_CHARGER, "shouldn't see this\n");
+ cputs(CC_CHIPSET, "shouldn't see this either\n");
cflush();
test_capture_console(0);
TEST_ASSERT(compare_multiline_string(test_get_captured_console(),
@@ -263,8 +263,8 @@ static int test_output_channel(void)
UART_INJECT("chan restore\n");
msleep(30);
test_capture_console(1);
- cprintf(CC_SYSTEM, "see me\n");
- cputs(CC_TASK, "me as well\n");
+ cprintf(CC_CHARGER, "see me\n");
+ cputs(CC_CHIPSET, "me as well\n");
cflush();
test_capture_console(0);
TEST_ASSERT(compare_multiline_string(test_get_captured_console(),