summaryrefslogtreecommitdiff
path: root/test/scratchpad.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Pass command line arguments to scratchpad unit testYicheng Li2020-06-021-1/+1
| | | | | | | | | | | | | | | Now that the main function of test files expects command line arguments, pass arguments to scratchpad test so that it can build. BRANCH=none BUG=none TEST=make -j BOARD=bloonchipper test-scratchpad Signed-off-by: Yicheng Li <yichengli@chromium.org> Change-Id: I042d91734b3cd46b9e14cfd647487b300a8f07ea Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2226521 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
* test: Add scratchpad testTom Hughes2020-05-271-0/+34
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>