diff options
author | Tom Hughes <tomhughes@chromium.org> | 2020-05-19 09:50:52 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-27 04:44:31 +0000 |
commit | a3881b5632d2371374a69bcea64688d64c231e58 (patch) | |
tree | adee24ff65362f63543a47fec734b69729d79a79 /test/scratchpad.tasklist | |
parent | 2f49516dd133f850eea302cc849725731185c119 (diff) | |
download | chrome-ec-a3881b5632d2371374a69bcea64688d64c231e58.tar.gz |
test: Add scratchpad test
The first time the test runs it should pass. After rebooting, the test
should then fail because the scratchpad register is already set.
BRANCH=none
BUG=b:157059753
TEST=Build and flash bloonchipper
On console:
> runtest
=> PASS
> reboot
> runtest
=> PASS, which is WRONG
TEST=Build and flash dartmonkey
On console:
> runtest
=> PASS
> reboot
> runtest
=> FAILS, which is CORRECT
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I348d723d8083ecd0d9f5535785c8049f284a00b6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2209189
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/scratchpad.tasklist')
-rw-r--r-- | test/scratchpad.tasklist | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/scratchpad.tasklist b/test/scratchpad.tasklist new file mode 100644 index 0000000000..51734f058d --- /dev/null +++ b/test/scratchpad.tasklist @@ -0,0 +1,9 @@ +/* Copyright 2020 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/** + * See CONFIG_TASK_LIST in config.h for details. + */ +#define CONFIG_TEST_TASK_LIST /* no tasks */ |