summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-08-07 06:06:44 +0800
committerChromeBot <chrome-bot@google.com>2013-08-18 04:27:27 -0700
commit0e9d829e913a28f148a191bb2664a91e2888d985 (patch)
tree6d5bceb2710d6dd72a8897773950e94ef11845aa /board
parent0ece0dc9556f065f89e67af72847579d1b4ce3cd (diff)
downloadchrome-ec-0e9d829e913a28f148a191bb2664a91e2888d985.tar.gz
Add test for console command history
This tests that command history is as expected. Also fix a bug that some checks in console_edit test are skipped. BUG=chrome-os-partner:19236 TEST=Pass console_edit test. BRANCH=None Change-Id: Ifbd3d1690f25b35bf5efe523e656b013aa534d26 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/64837
Diffstat (limited to 'board')
-rw-r--r--board/host/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/host/board.h b/board/host/board.h
index 3707e2a1f4..b80ac27fdb 100644
--- a/board/host/board.h
+++ b/board/host/board.h
@@ -15,6 +15,9 @@
#define CONFIG_TEMP_SENSOR
#undef CONFIG_WATCHDOG
+#undef CONFIG_CONSOLE_HISTORY
+#define CONFIG_CONSOLE_HISTORY 4
+
/* Host test config */
#ifdef TEST_SMART_BATTERY_CHARGER
#define CONFIG_BATTERY_MOCK