diff options
author | Andrea Grandi <agrandi@google.com> | 2022-10-20 17:01:13 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-21 17:58:13 +0000 |
commit | 012d263c875df4a5440777504732df829775979c (patch) | |
tree | 8777e1717578a603186c83f9c37d6f8488962eff /test/build.mk | |
parent | 70ee19b25c19a5938e1e7042383bcce24a1461cc (diff) | |
download | chrome-ec-012d263c875df4a5440777504732df829775979c.tar.gz |
test: Add basic test of std::vector
Verify that dynamic memory allocation works correctly.
BUG=b:243964606
TEST=util/run_device_tests.py --board=dartmonkey \
--tests=std_vector
TEST=make run-std_vector
BRANCH=none
Signed-off-by: Andrea Grandi <agrandi@google.com>
Change-Id: Iae7ff1070786e3d5e3c8ba4dcddeeeb9979b0306
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3969861
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'test/build.mk')
-rw-r--r-- | test/build.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk index 4f9674b306..08e2d15c9f 100644 --- a/test/build.mk +++ b/test/build.mk @@ -98,6 +98,7 @@ test-list-host += static_if_error # toolchain's C standard library, so these tests are actually testing the # toolchain's C standard library. test-list-host += stdlib +test-list-host += std_vector test-list-host += system test-list-host += thermal test-list-host += timer_dos @@ -244,6 +245,7 @@ sha256_unrolled-y=sha256.o shmalloc-y=shmalloc.o static_if-y=static_if.o stdlib-y=stdlib.o +std_vector-y=std_vector.o stm32f_rtc-y=stm32f_rtc.o stress-y=stress.o system-y=system.o |