diff options
author | Vic Yang <victoryang@chromium.org> | 2012-07-11 17:23:19 +0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-13 01:13:20 -0700 |
commit | 1bd61468929bdd4907d02d56b9144d654b6ad272 (patch) | |
tree | 60aedd1514f33865d5bceeb2bb0a607301d8fb5b /test/build.mk | |
parent | 23d031343f00b88a900c701aa59636ea3b64aa33 (diff) | |
download | chrome-ec-1bd61468929bdd4907d02d56b9144d654b6ad272.tar.gz |
Add a test of flash read/write/erase test
This test checks physical read/write/erase functions are called
correctly.
BUG=chrome-os-partner:10261
TEST=Test passed.
Change-Id: Iff58f352bd732a0da9b7b7fe68c4bf87c84906a8
Reviewed-on: https://gerrit.chromium.org/gerrit/27144
Reviewed-by: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com>
Tested-by: Vic Yang <victoryang@chromium.org>
Commit-Ready: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'test/build.mk')
-rw-r--r-- | test/build.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/build.mk b/test/build.mk index 9736ec26f2..a38cce29e8 100644 --- a/test/build.mk +++ b/test/build.mk @@ -8,7 +8,7 @@ test-list=hello pingpong timer_calib timer_dos timer_jump mutex thermal test-list+=power_button kb_deghost kb_debounce scancode typematic charging -test-list+=flash_overwrite +test-list+=flash_overwrite flash_rw_erase #disable: powerdemo pingpong-y=pingpong.o @@ -17,6 +17,7 @@ timer_calib-y=timer_calib.o timer_dos-y=timer_dos.o mutex-y=mutex.o flash_overwrite-y=flash.o +flash_rw_erase-y=flash.o # Mock modules for 'thermal' chip-mock-thermal-lpc.o=mock_lpc.o @@ -55,3 +56,6 @@ common-mock-charging-charger_bq24725.o=mock_charger.o # Mock modules for 'flash_overwrite' chip-mock-flash_overwrite-flash.o=mock_flash.o chip-mock-flash_overwrite-gpio.o=mock_gpio.o + +# Mock modules for 'flash_rw_erase' +chip-mock-flash_rw_erase-flash.o=mock_flash.o |