diff options
author | Andrea Grandi <agrandi@google.com> | 2022-03-22 13:53:00 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-08 01:18:20 +0000 |
commit | e60427a53579041eae2eb7293bcd6b8a2cefad4f (patch) | |
tree | 4021574629c86b05532475ebd24afa2a8086128d /Makefile | |
parent | eff19e347d68914d8ef84c021a55f046b5571831 (diff) | |
download | chrome-ec-e60427a53579041eae2eb7293bcd6b8a2cefad4f.tar.gz |
test/run_device_tests.py: Add private tests
Currently, the list of tests is hard-coded in the Python script.
Add ability to fetch additional tests from the private folder, if
available.
This is a reland of commit b97ba790690d1ee86c001ef0a82be5897645ae2f
BRANCH=none
BUG=b:226385185
TEST=cros lint test/run_device_tests.py
TEST=make V=1 run-<private_test>
TEST=test/run_device_tests.py --flasher=jtrace --remote=localhost
--board=dartmonkey
TEST=test/run_device_tests.py --flasher=jtrace --remote=localhost
--board=dartmonkey --tests=<private_test>
Cq-Depend: chrome-internal:4650299, chrome-internal:4650281, chrome-internal:4650279
Signed-off-by: Andrea Grandi <agrandi@google.com>
Change-Id: I67866ced27414d495bfad5eff9825cf68c8c22cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3562041
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Feels: Tom Hughes <tomhughes@chromium.org>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
Feels: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -150,6 +150,7 @@ endif _tsk_lst_flags+=-I$(BDIR) -DBOARD_$(UC_BOARD)=$(EMPTY) -I$(BASEDIR) \ -DBASEBOARD_$(UC_BASEBOARD)=$(EMPTY) \ -D_MAKEFILE=$(EMPTY) -imacros $(_tsk_lst_file) +-include private/task_list_flags.mk _tsk_lst_ro:=$(shell $(CPP) -P -DSECTION_IS_RO=$(EMPTY) \ $(_tsk_lst_flags) include/task_filter.h) |