summaryrefslogtreecommitdiff
path: root/test
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 /test
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>
Diffstat (limited to 'test')
-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
5 files changed, 5 insertions, 5 deletions
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