summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-11-11 12:22:03 -0700
committerRajat Jain <rajatja@google.com>2020-11-11 19:36:24 +0000
commite50f47c5d21c02fdc97d49ad0e207e6185930e6f (patch)
treecad4a4eba8b513552b98fc5caf436d6f9e59e479
parent90caed85bc8f2c0d2b05b1977e1dd02db614a41b (diff)
downloadchrome-ec-e50f47c5d21c02fdc97d49ad0e207e6185930e6f.tar.gz
Revert "crc32: rename test crc32->crc to allow for crc8"
Something slipped through CQ coverage. Need to figure out, but in the mean time, revert the 3 CLs that seemed to have caused the issue. BRANCH=none BUG=chromium:1147953 TEST=none This reverts commit 5ec269c5a71643c955fe45191ed9f06794c6113a. Change-Id: I90f812cd4d4f83ea05d34740541db0076abce392 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2533356 Tested-by: Rajat Jain <rajatja@google.com> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
-rw-r--r--board/hatch_fp/build.mk2
-rw-r--r--board/nocturne_fp/build.mk2
-rw-r--r--board/nucleo-dartmonkey/build.mk2
-rw-r--r--board/nucleo-f412zg/build.mk2
-rw-r--r--board/nucleo-h743zi/build.mk2
-rw-r--r--test/build.mk4
-rw-r--r--test/crc32.c (renamed from test/crc.c)0
-rw-r--r--test/crc32.tasklist (renamed from test/crc.tasklist)0
-rwxr-xr-xtest/run_device_tests.py4
-rw-r--r--test/test_config.h2
10 files changed, 10 insertions, 10 deletions
diff --git a/board/hatch_fp/build.mk b/board/hatch_fp/build.mk
index dc6e59eb20..de4dde367b 100644
--- a/board/hatch_fp/build.mk
+++ b/board/hatch_fp/build.mk
@@ -23,7 +23,7 @@ endif
test-list-y=\
aes \
compile_time_macros \
- crc \
+ crc32 \
flash_physical \
flash_write_protect \
fpsensor \
diff --git a/board/nocturne_fp/build.mk b/board/nocturne_fp/build.mk
index 888057c26a..edaac15ca2 100644
--- a/board/nocturne_fp/build.mk
+++ b/board/nocturne_fp/build.mk
@@ -17,7 +17,7 @@ board-y=board.o fpsensor_detect.o
test-list-y=\
aes \
compile_time_macros \
- crc \
+ crc32 \
flash_physical \
flash_write_protect \
fpsensor \
diff --git a/board/nucleo-dartmonkey/build.mk b/board/nucleo-dartmonkey/build.mk
index fad8b5924a..10a696e49a 100644
--- a/board/nucleo-dartmonkey/build.mk
+++ b/board/nucleo-dartmonkey/build.mk
@@ -13,7 +13,7 @@ board-y+=fpsensor_detect.o
test-list-y=\
aes \
compile_time_macros \
- crc \
+ crc32 \
fpsensor \
mutex \
pingpong \
diff --git a/board/nucleo-f412zg/build.mk b/board/nucleo-f412zg/build.mk
index a6e3569854..4dbe987b39 100644
--- a/board/nucleo-f412zg/build.mk
+++ b/board/nucleo-f412zg/build.mk
@@ -12,7 +12,7 @@ board-y=board.o
test-list-y=\
aes \
compile_time_macros \
- crc \
+ crc32 \
flash_physical \
flash_write_protect \
mpu \
diff --git a/board/nucleo-h743zi/build.mk b/board/nucleo-h743zi/build.mk
index ea3140e2fb..ebb8d6b18f 100644
--- a/board/nucleo-h743zi/build.mk
+++ b/board/nucleo-h743zi/build.mk
@@ -12,7 +12,7 @@ board-y=board.o
test-list-y=\
aes \
compile_time_macros \
- crc \
+ crc32 \
flash_physical \
flash_write_protect \
mpu \
diff --git a/test/build.mk b/test/build.mk
index 1a9f3657a8..2dc413c25c 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -26,7 +26,7 @@ test-list-host += charge_manager_drp_charging
test-list-host += charge_ramp
test-list-host += compile_time_macros
test-list-host += console_edit
-test-list-host += crc
+test-list-host += crc32
test-list-host += entropy
test-list-host += extpwr_gpio
test-list-host += fan
@@ -135,7 +135,7 @@ charge_manager_drp_charging-y=charge_manager.o
charge_ramp-y+=charge_ramp.o
compile_time_macros-y=compile_time_macros.o
console_edit-y=console_edit.o
-crc-y=crc.o
+crc32-y=crc32.o
entropy-y=entropy.o
extpwr_gpio-y=extpwr_gpio.o
fan-y=fan.o
diff --git a/test/crc.c b/test/crc32.c
index 3521bce4a9..3521bce4a9 100644
--- a/test/crc.c
+++ b/test/crc32.c
diff --git a/test/crc.tasklist b/test/crc32.tasklist
index f46a2eaa1d..f46a2eaa1d 100644
--- a/test/crc.tasklist
+++ b/test/crc32.tasklist
diff --git a/test/run_device_tests.py b/test/run_device_tests.py
index 9e38576c2d..bed942f62e 100755
--- a/test/run_device_tests.py
+++ b/test/run_device_tests.py
@@ -105,8 +105,8 @@ class AllTests:
tests = {
'aes':
TestConfig(name='aes'),
- 'crc':
- TestConfig(name='crc'),
+ 'crc32':
+ TestConfig(name='crc32'),
'flash_physical':
TestConfig(name='flash_physical', image_to_use=ImageType.RO,
toggle_power=True),
diff --git a/test/test_config.h b/test/test_config.h
index 7e9e2cc5e6..889ee43d58 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -219,7 +219,7 @@ enum sensor_id {
#endif
-#ifdef TEST_CRC
+#ifdef TEST_CRC32
#define CONFIG_SW_CRC
#endif