zephyr/scripts
Maciej Perkowski 85dd4975a4 twister: cmake: Add prefiltration based on cmake package helper script
Twister allows filtering based on kconfigs and dts, however the
filtration is a part of the cmake stage, i.e. the stage has to pass
first and then twister checks if required properties are available.
This causes problems, when the full cmake stage is unable to pass.
If so, other filtration methods had to be used, e.g. platform_allow.
The commit modifies the twister workflow:
if a test defines filters based on kconfig/dts first a cmake package
helper script is used to extract dt and/or kconfigs and if the
conditions are fulfilled  it proceeds to a regular cmake stage.
If not, test is skipped.

Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
2023-03-02 15:38:08 -05:00
..
build code_relocation: Fix Warning 2023-02-08 12:11:14 +01:00
checkpatch scripts: checkpatch: add Atmel Pwm typedef 2022-07-12 17:51:23 +02:00
ci scripts: ci: check_compliance: Ignore undefined CONFIG_CMD_CACHE 2023-02-24 18:11:56 +01:00
coccinelle everywhere: fix typos 2022-03-18 13:24:08 -04:00
coredump treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
dts edtlib: extract _slice() code to new helper module 2023-02-27 17:44:45 +01:00
footprint footprint: ci: Remove audio SOF samples 2023-03-02 11:46:54 -05:00
generate_usb_vif treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gitlint scripts: zephyr_commit_rules: improve commit error messages 2023-02-08 15:03:56 -08:00
kconfig scripts: kconfig: add function to determine if GPIO hogs are enabled 2023-01-27 14:38:52 -08:00
logging/dictionary treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
net scripts: net: add enumerate_http_status.py 2022-10-12 09:02:21 -04:00
pylib twister: cmake: Add prefiltration based on cmake package helper script 2023-03-02 15:38:08 -05:00
pylint/checkers scripts: pylint: Add argument parser abbreviation checker 2023-01-26 20:12:36 +09:00
release treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
schemas/twister twister: Fields for Kconfig and DT overlay files in testcase.yaml 2023-03-01 16:52:01 -05:00
support treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
tests twister: cmake: Add prefiltration based on cmake package helper script 2023-03-02 15:38:08 -05:00
tracing tracing: scripts: Fix spelling 2023-02-08 01:09:31 +09:00
utils build: drop LEGACY_INCLUDE_PATH support 2023-02-21 15:06:48 +01:00
west_commands west: sign: rimage: log("Prefixing with xman...") only when doing it 2023-03-02 10:54:13 +01:00
.gitignore cleanup: rename sanitycheck references to twister 2021-01-14 07:50:52 -06:00
checkpatch.pl checkpatch: update --exclude docs 2022-12-01 15:48:30 +01:00
checkstack.pl First commit 2015-04-10 16:44:37 -07:00
coccicheck scripts: Allow use of bash outside of /bin 2022-03-08 11:11:10 +01:00
dump_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
gen_gcov_files.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
get_maintainer.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
github_helpers.py scripts: add github_helpers.py 2022-05-24 18:48:03 +02:00
list_boards.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
make_bugs_pickle.py treewide: Disable automatic argparse argument shortening 2023-01-26 20:12:36 +09:00
requirements-base.txt requirements: bump pyelftools to >=0.27 2022-06-10 09:46:31 +02:00
requirements-build-test.txt scripts: move pip pykwalify from requirements-build-test to -base 2021-01-18 16:56:24 -05:00
requirements-compliance.txt scripts: compliance: add support for YAMLLint 2023-01-04 17:29:23 +01:00
requirements-doc.txt doc: Do not use Sphinx 5.2.0.post0 2022-09-25 10:37:32 +02:00
requirements-extras.txt clang-format: Enable InsertBraces option 2022-12-20 22:51:57 +01:00
requirements-run-test.txt soc: xtensa: tools: remove dependency of netifaces package 2022-08-16 22:51:53 -07:00
requirements.txt python3: add check_compliance package requirements 2020-08-11 14:49:48 -04:00
series-push-hook.sh scripts: series-push-hook: Use main as base comparison branch 2021-05-27 15:55:43 -05:00
set_assignees.py scripts: set_assignee: don't skip assignment on too many labels 2023-01-26 14:57:29 -05:00
spelling.txt scripts: updated spelling.txt file 2017-07-14 12:57:40 +03:00
tags.sh scripts: Update paths on tags.sh 2021-02-19 05:28:09 -06:00
twister twister: move main to twisterlib/twister_main.py 2023-01-13 15:39:04 -08:00
valgrind.supp lvgl: Suppress memory leak errors detected by valgrind 2019-10-21 12:26:35 -07:00
west-commands.yml west: west twister integration 2023-01-13 15:39:04 -08:00
zephyr_module.py cmake: implement build infrastructure for supporting SCA tools. 2023-01-27 20:28:58 +09:00