summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-11-09 15:23:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-13 00:27:29 +0000
commit9263a4f135deb87f7926ed2e91deef496bbfe818 (patch)
treed80fb49558513606a70044a74ed2bb8ac736f833 /test
parentfb5b9b362b89b9b4cb75ca114f78916997dffa84 (diff)
downloadchrome-ec-9263a4f135deb87f7926ed2e91deef496bbfe818.tar.gz
crc32: rename test crc32->crc to allow for crc8
Instead of creating a new test for crc8, just make the existing crc32 test more generic. BRANCH=none BUG=none TEST=none Signed-off-by: Jett Rink <jettrink@chromium.org> Change-Id: Ie630d4991d4e2c7dc441842c39d63fc0281ac809 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2532690 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/build.mk4
-rw-r--r--test/crc.c (renamed from test/crc32.c)0
-rw-r--r--test/crc.tasklist (renamed from test/crc32.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 2dc413c25c..1a9f3657a8 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 += crc32
+test-list-host += crc
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
-crc32-y=crc32.o
+crc-y=crc.o
entropy-y=entropy.o
extpwr_gpio-y=extpwr_gpio.o
fan-y=fan.o
diff --git a/test/crc32.c b/test/crc.c
index 3521bce4a9..3521bce4a9 100644
--- a/test/crc32.c
+++ b/test/crc.c
diff --git a/test/crc32.tasklist b/test/crc.tasklist
index f46a2eaa1d..f46a2eaa1d 100644
--- a/test/crc32.tasklist
+++ b/test/crc.tasklist
diff --git a/test/run_device_tests.py b/test/run_device_tests.py
index bed942f62e..9e38576c2d 100755
--- a/test/run_device_tests.py
+++ b/test/run_device_tests.py
@@ -105,8 +105,8 @@ class AllTests:
tests = {
'aes':
TestConfig(name='aes'),
- 'crc32':
- TestConfig(name='crc32'),
+ 'crc':
+ TestConfig(name='crc'),
'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 889ee43d58..7e9e2cc5e6 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -219,7 +219,7 @@ enum sensor_id {
#endif
-#ifdef TEST_CRC32
+#ifdef TEST_CRC
#define CONFIG_SW_CRC
#endif