forked from nrfconnect/sdk-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Test plan #33
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
Open
PerMac
wants to merge
483
commits into
main
Choose a base branch
from
testPlan
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit a4a7cf2. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 2bbd553. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 5e46751. Signed-off-by: Robert Lubos <[email protected]>
… any TWT operation" This reverts commit 4d2abca. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit c9c548d. Signed-off-by: Robert Lubos <[email protected]>
…upport nrf7002 eval board" This reverts commit 4717932. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 07f9d80. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit e583547. Signed-off-by: Robert Lubos <[email protected]>
… dependency" This reverts commit 271e795. Signed-off-by: Robert Lubos <[email protected]>
…al flash by default" This reverts commit 2029095. Signed-off-by: Robert Lubos <[email protected]>
…al flash by default" This reverts commit 9a46118. Signed-off-by: Robert Lubos <[email protected]>
…1_ns to TF-M test samples" This reverts commit 4a67d5d. Signed-off-by: Robert Lubos <[email protected]>
…ported note" This reverts commit 21084ce. Signed-off-by: Robert Lubos <[email protected]>
… to nrf9161 DK" This reverts commit 625fc57. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 417f846. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 67c7748. Signed-off-by: Robert Lubos <[email protected]>
This reverts commit 5c4420d. Signed-off-by: Robert Lubos <[email protected]>
…ort DirectXIP" This reverts commit 5dc97da. Signed-off-by: Robert Lubos <[email protected]>
…in DirectXIP" This reverts commit 397cb90. Signed-off-by: Robert Lubos <[email protected]>
…single app mode" This reverts commit 4e68c2a. Signed-off-by: Robert Lubos <[email protected]>
… MCUboot config" This reverts commit 76c56af. Signed-off-by: Robert Lubos <[email protected]>
…cuboot" This reverts commit 7edf308. Signed-off-by: Robert Lubos <[email protected]>
…826" This reverts commit f587bf1. Signed-off-by: Robert Lubos <[email protected]>
…api." This reverts commit 148596e. Signed-off-by: Robert Lubos <[email protected]>
…_EXCLUDE_TCPLP_LIB`" This reverts commit ab6dc44. Signed-off-by: Robert Lubos <[email protected]>
…arger sensor" This reverts commit 9aa6e9b. Signed-off-by: Robert Lubos <[email protected]>
…rger sensor" This reverts commit 39cfa75. Signed-off-by: Robert Lubos <[email protected]>
…ger driver" This reverts commit d121698. Signed-off-by: Robert Lubos <[email protected]>
…n settings work item" This reverts commit dab6fbf. Signed-off-by: Robert Lubos <[email protected]>
… data in settings work" This reverts commit dd149c1. Signed-off-by: Robert Lubos <[email protected]>
Run Sphinx in warnings as error mode, but keep going so that all issues are reported to the user. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 85ec853)
Add a new CMake option to append options to SPHINXOPTS. This allows us to easily extend default SPHINXOPTS. This patch also restores the "-j auto" option in CI (now that we use a custom runner). Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 2c89bf5)
When something goes wrong in Sphinx or extensions, we'll get a detailed traceback, so we can easily debug issues in CI. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit d3d93d4)
Zephyr scripts do not require documentation dependencies, so let's move them from scripts/ to doc/. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 7f9215d)
rtd_theme 1.2.x is required when using Sphinx >= 6.0, otherwise certain features like search are broken. Note that jQuery support needs to be enabled manually now using `sphinxcontrib.jquery` extension. Also update Sphinx to latest 6.x release, 6.2 as it contains some fixes. fromtree notes: slightly adjusted, docleaf not imported. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 7c418a0)
The SPHINXOPTS option was not aligned with latest changes in CMake, and SPHINXOPTS_EXTRA was not present. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 77aafa5)
Fixes a race condition that could occur if the TX queue was read out before iso_has_ts was set. In that case, the provided buffer is of wrong length. Signed-off-by: Rubin Gerritsen <[email protected]> (cherry picked from commit 5e44f27)
Adds details on how to use Zephyr's VERSION file for setting the version of an application. Signed-off-by: Jamie McCrae <[email protected]> (cherry picked from commit 945b91c)
Added several header tags on Application Development. Edited header hierarchy under Create Application. Signed-off-by: Grzegorz Ferenc <[email protected]> (cherry picked from commit 8b07bf1)
Added the VERSION file to the list of application files. Added link to the application version management page. Signed-off-by: Grzegorz Ferenc <[email protected]> (cherry picked from commit e39b6c5)
fixup! [nrf noup] include: net: add NCS extensions Add socket option level IPPROTO_ALL to socket_ncs.h. Signed-off-by: Markus Lassila <[email protected]>
Bootstrap executable cause socket to be closed, so it requires some delay for Ack to be send out as well. Similarly, add small delay for Update trigger, so the possible Ack goes out before the actual update message. Upstream PR: zephyrproject-rtos/zephyr#61370 Signed-off-by: Seppo Takalo <[email protected]> (cherry picked from commit 8913b7eda9e9218633ddd02884b16e7c67fa16b8)
RD-client tests should wait longer for expected events. Also the stubbed service worker should be stopped properly after tests. Upstream PR: zephyrproject-rtos/zephyr#61370 Signed-off-by: Seppo Takalo <[email protected]> (cherry picked from commit 67af91b70779b249d8bfc627cd5a6f17b71a37dd)
Pull in nrfx 3.1.0 release Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 2460967)
… PWM instance This reverts commit 36f4226. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 6f201f0)
…nrfx 3.1.0 Align config files to templates introduced with nrfx 3.1.0 release Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 9aeb497)
…_stopped_check() When `nrfx_pwm_stopped_check()` was called multiple times it was returning incorrect value after second and next calls. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit f53041c)
Pin state after SPIM deinitialization is based on pinctrl configuration. On the other hand, CPOL is set during runtime. With the introduction of the power-optimized SPIM driver, it disables the peripheral instance once the transfer is completed. As a result, the GPIO takes control over the SCK pin and drives it based on pinctrl configuration which causes an invalid SCK state when the transaction is configured with CPOL (Clock Polarity). To address this issue, a patch was introduced to the SPIM driver. Now, when a SPIM instance is configured with CPOL, the driver is setting in the runtime the correct state of the SCK pin. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 315dd0f)
Pin state after SPI deinitialization is based on pinctrl configuration. On the other hand, CPOL is set during runtime. When the SPI instance is disabled GPIO takes control over SCK and drives it to state set by pinctrl driver. This might causes an invalid SCK state when the transaction is configured with CPOL (Clock Polarity). To address this issue, a patch was introduced to the SPI driver. Now, when a SPI instance is configured with CPOL, the driver is setting in the runtime the correct state of the SCK pin. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 9de69aa)
Test suites names are not being handled uniformly for tests not in zephyr tree. Their names depend on -T arg used in twister's CLI. The newly added option make twister not adding paths to suite names. This is needed if test plans are to be used for tests outside of zephyr tree. Signed-off-by: Maciej Perkowski <[email protected]>
An option --no-path-name was added to twister to help align names for test outside of zephyr tree. This commit add this arg to test_plan.py script which is then propagated to twister. Signed-off-by: Maciej Perkowski <[email protected]>
The test_plan.py script has a path to repository to be scanned for changes hard coded to zephyr. This patch separates zephyr path from such repository's path and adds an arg to pass repo to scan Signed-off-by: Maciej Perkowski <[email protected]>
Expand test_plan.py args with --ignore-path. This allows to provide an alternative lists of patterns for the script. Signed-off-by: Maciej Perkowski <[email protected]>
Add --alt-tag arg for test_plan.py script. User can use it and point to an alternative file with tag-directories relations. If so, such file will be used instead of the default one. Signed-off-by: Maciej Perkowski <[email protected]>
The arg --testsuite-root was copied from twister. When it is used for test_plan.py it will be propagated to twister calls. This allows to make alternative test locations (e.g. from another repo) to work with test_plan.py Signed-off-by: Maciej Perkowski <[email protected]>
The script was not resolving all detected changes uniformly: find_excludes() could skip or not certain patterns based on required testing scope. The idea was to not include files that were already handled by find_test() and find_boards() workflows. However, only boards and tests folders could be removed but not samples. This also led to blind spots: changes in some files were not triggering any tests. E.g. change in a test/common, where no corresponding yaml can be found by find_tests() which is also ignored by find_excludes(). In the new workflow a list of resolved files (for which find_arch(), find_tests() or find_boards() found scope) is created. Instead of using skip in find_excludes, files are excluded only if they were resolved. Signed-off-by: Maciej Perkowski <[email protected]>
Some tests use a "common" directory to store pieces of code which are reused by different scenarios. In those cases, no test yaml is found within such director nor within its parents. If no test yaml is found in a directory, and the directory is called common, also look in collocated directories if they have test yamls. If so, add all those locations to the scope. E.g. tests/bluetooth/controller/common
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.