Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purge usage of platform_whitelist #2281

Closed
zephyrbot opened this issue Sep 3, 2016 · 3 comments
Closed

purge usage of platform_whitelist #2281

zephyrbot opened this issue Sep 3, 2016 · 3 comments
Labels
area: Test Framework Issues related not to a particular test, but to the framework instead Enhancement Changes/Updates/Additions to existing features

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Sep 3, 2016

Reported by Inaky Perez-Gonzalez:

Currently too many testcases and samples define a platform_whitelist, which then makes it arduous to go and revise everytime a new platform (board) is added.

platform_whitelist should be used only when that sample or testcase can ONLY run in said platform.

The following list are those who most likely should not be using it:

tests/crypto/test_cbc/testcase.ini:5:platform_whitelist = qemu_x86 qemu_cortex_m3
tests/crypto/test_ccm_mode/testcase.ini:5:platform_whitelist = qemu_x86 qemu_cortex_m3
tests/crypto/test_cmac_mode/testcase.ini:5:platform_whitelist = qemu_x86 qemu_cortex_m3
tests/crypto/test_ctr/testcase.ini:5:platform_whitelist = qemu_x86 qemu_cortex_m3
tests/crypto/test_hmac/testcase.ini:6:platform_whitelist = qemu_x86 qemu_cortex_m3
tests/crypto/test_prng/testcase.ini:5:platform_whitelist = qemu_x86 qemu_cortex_m3
samples/fs/fat_fs/testcase.ini:5:platform_whitelist = arduino_101
samples/fs/fat_fs/testcase.ini:12:platform_whitelist = arduino_101
samples/net/coap_observe_client/testcase.ini:5:platform_whitelist = qemu_x86
samples/net/coap_observe_client/testcase.ini:12:platform_whitelist = qemu_x86
samples/net/coap_observe_client/testcase.ini:19:platform_whitelist = qemu_x86
samples/net/coap_server/testcase.ini:5:platform_whitelist = qemu_x86
samples/net/coap_server/testcase.ini:14:platform_whitelist = qemu_x86
samples/net/coap_server/testcase.ini:21:platform_whitelist = qemu_x86
samples/net/dhcp_client/testcase.ini:5:platform_whitelist = galileo
samples/net/dns_client/testcase.ini:5:platform_whitelist = galileo
samples/net/dtls_client/testcase.ini:5:platform_whitelist = qemu_x86
samples/net/dtls_client/testcase.ini:14:platform_whitelist = qemu_x86
samples/net/dtls_server/testcase.ini:5:platform_whitelist = qemu_x86
samples/net/dtls_server/testcase.ini:14:platform_whitelist = qemu_x86
samples/net/echo_client/testcase.ini:5:platform_whitelist = minnowboard
samples/net/echo_client/testcase.ini:12:platform_whitelist = minnowboard
samples/net/echo_server/testcase.ini:5:platform_whitelist = minnowboard
samples/net/echo_server/testcase.ini:12:platform_whitelist = minnowboard
samples/net/mbedtls_sslclient/testcase.ini:5:platform_whitelist = galileo
samples/net/nats_clients/publisher/testcase.ini:5:platform_whitelist = galileo
samples/net/nats_clients/subscriber/testcase.ini:5:platform_whitelist = galileo
samples/net/zperf/testcase.ini:5:platform_whitelist = galileo

There is no reason why none of those should be restricted (except maybe to 'something wit a network interface').

(Imported from Jira ZEP-774)

@zephyrbot
Copy link
Collaborator Author

by Anas Nashif:

what we need to purge and cleanup is the platform_exclude, thats where you have to go and update testcases. Defining a test-case as runnable on a class of systems only is the correct thing, making it run on everything and then start excluding is the main issue we have.

@zephyrbot
Copy link
Collaborator Author

zephyrbot commented Sep 17, 2017

by Anas Nashif:

duplicates GH-3831

@zephyrbot
Copy link
Collaborator Author

zephyrbot commented Sep 17, 2017

Duplicate of GH-3831

@zephyrbot zephyrbot added area: Test Framework Issues related not to a particular test, but to the framework instead Enhancement Changes/Updates/Additions to existing features labels Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Test Framework Issues related not to a particular test, but to the framework instead Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

No branches or pull requests

1 participant