diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-05-28 09:44:18 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-28 07:30:36 -0700 |
commit | fe70db89251961428ab2b83335b152f3311022fa (patch) | |
tree | 72c2b8231ab2ec23a3e2a730984dc27183be0bf5 /test | |
parent | cadc0f2513cb40a52ae70f66b34ff9f6abaa2250 (diff) | |
download | chrome-ec-fe70db89251961428ab2b83335b152f3311022fa.tar.gz |
test/build.mk: Allow boards to specify test lists
Some tests cannot be built on some boards (not enough SRAM,
unusual configuration, etc.). Instead of the long list of
exceptions in test/build.mk that we currently use, allow
each board (or chip) build.mk to set test-list-y, and
only use the default list if it is unset.
BRANCH=poppy
BUG=b:80167548
TEST=make buildalltests -j
Change-Id: I803c691f419451aad4396529302a4805cbe3f9b5
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1074572
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/build.mk | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/test/build.mk b/test/build.mk index 8853042de6..d1ca94b7dc 100644 --- a/test/build.mk +++ b/test/build.mk @@ -6,33 +6,9 @@ # on-board test binaries build # -test-list-y=pingpong timer_calib timer_dos timer_jump mutex utils utils_str +test-list-y ?= pingpong timer_calib timer_dos timer_jump mutex utils utils_str #disable: powerdemo -test-list-$(BOARD_BDS)+= - -test-list-$(BOARD_HAMMER)+=entropy rsa3 - -# Samus has board-specific chipset code, and the tests don't -# compile with it. Disable them for now. -test-list-$(BOARD_SAMUS)= - -# So does anything that runs on chip/g -ifneq ($(CHIP_G),) -test-list-y= -endif - -# Hadoken does not support scratchpad -test-list-$(BOARD_HADOKEN)= - -# For some tests, we are running out of RAM. Disable them for now. -test-list-$(BOARD_GLADOS_PD)= -test-list-$(BOARD_CHELL_PD)= -test-list-$(BOARD_OAK_PD)= -test-list-$(BOARD_SAMUS_PD)= -test-list-$(BOARD_COFFEECAKE)= -test-list-$(BOARD_SERVO_V4)= - # Emulator tests ifneq ($(TEST_LIST_HOST),) test-list-host=$(TEST_LIST_HOST) |