Skip to content

Cypress: Initial commit of SoftAP host tests. #12125

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

Closed
wants to merge 22 commits into from

Conversation

yarbcy
Copy link
Contributor

@yarbcy yarbcy commented Dec 17, 2019

Cypress: Initial commit of SoftAP host tests. Applicable only for Cypress targets.

Summary of changes

Impact of changes

Cypress

Migration actions required

N/A

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[ ] Feature update (New feature / Functionality change / New API)
[ ] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[x] Tests / results supplied as part of this PR
target platform_name test suite test case passed failed result elapsed_time (sec)
CY8CPROTO_062_4343W-GCC_ARM CY8CPROTO_062_4343W tests-softap-ap Host OS Type Verification 1 0 OK 1.59
CY8CPROTO_062_4343W-GCC_ARM CY8CPROTO_062_4343W tests-softap-ap SoftAP test 1 0 OK 15.89
mbedgt: test case results: 2 OK
mbedgt: completed in 119.38 sec
target platform_name test suite test case passed failed result elapsed_time (sec)
CYW943012P6EVB_01-GCC_ARM CYW943012P6EVB_01 tests-softap-ap Host OS Type Verification 1 0 OK 1.55
CYW943012P6EVB_01-GCC_ARM CYW943012P6EVB_01 tests-softap-ap SoftAP test 1 0 OK 20.3
mbedgt: test case results: 2 OK
mbedgt: completed in 117.90 sec
target platform_name test suite test case passed failed result elapsed_time (sec)
CY8CKIT_062_WIFI_BT-GCC_ARM CY8CKIT_062_WIFI_BT tests-softap-ap Host OS Type Verification 1 0 OK 2.48
CY8CKIT_062_WIFI_BT-GCC_ARM CY8CKIT_062_WIFI_BT tests-softap-ap SoftAP test 1 0 OK 19.1
mbedgt: test case results: 2 OK
mbedgt: completed in 128.70 sec

Reviewers


@ciarmcom ciarmcom requested a review from a team December 17, 2019 14:00
@ciarmcom
Copy link
Member

@yarbcy, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

@yarbcy
Copy link
Contributor Author

yarbcy commented Dec 18, 2019

@mprse @0xc0170 Please review.

@adbridge adbridge requested a review from mprse December 18, 2019 15:27
@yarbcy
Copy link
Contributor Author

yarbcy commented Dec 19, 2019

@maclobdell Please review.

@mprse
Copy link
Contributor

mprse commented Dec 19, 2019

@yarbcy I'm not familiar with SoftAP.

@yarbcy
Copy link
Contributor Author

yarbcy commented Dec 19, 2019

@adbridge @mprse These tests are review internally. I expect from ARM team general comments about correctness place (folder) where those test are since they are applicable only for Cypress targets.

@adbridge
Copy link
Contributor

@yarbcy could you please add a meaningful summary of changes, in the correct section .

@adbridge adbridge requested a review from jamesbeyond December 19, 2019 17:16
@adbridge
Copy link
Contributor

@jamesbeyond is there something else required to get these tests into our CI so they only run on Cypress targets ?

@yarbcy
Copy link
Contributor Author

yarbcy commented Dec 20, 2019

@jamesbeyond ?

@adbridge
Copy link
Contributor

@jamesbeyond ?

@yarbcy it looks like most people have now gone away on Xmas break so we aren't going to see much movement I'm afraid.

@jamesbeyond
Copy link
Contributor

Hi @yarbcy,
Sorry for the late reply. just got back from holiday.
Could you give us more info about this SoftAP. I don't think this is a feature that mbed-OS currently supports it.
If this is is a feature that only offered by Cypress through your own BSP/SDK, and other platforms are not supporting this. I'd suggest that if this test can be put into Cypress target folder rather than left this in a common TEST folder.

We have a previous case for SiliconLabs has their own spi tests : https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_Silicon_Labs/TARGET_EFM32/TESTS

utest::v1::status_t greentea_test_setup(const size_t number_of_cases)
{
// here, we specify the timeout (150) and the host runner (the name of our Python file)
GREENTEA_SETUP(150, "softap_basic");
Copy link
Contributor

@jamesbeyond jamesbeyond Dec 30, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see this test requires softap_basic host test but seems this python script is not part of this PR

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2020

Based on the review above, this addition needs better description - what are these tests. Why are they only for Cypress (located in the TESTS, not under targets?) ?

@yarbcy
Copy link
Contributor Author

yarbcy commented Jan 10, 2020

Close this PR because of issue with commits. Comments are addresed in: #12240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants