aboutsummaryrefslogtreecommitdiff
path: root/blueberry
AgeCommit message (Collapse)Author
2021-10-08Migrate gd cert real device tests to MoblyJizheng Chu
Bug: 200997407 Test: Build artifact and run GD Cert tests in venv with Mobly installed, see detail steps in go/port-gd-cert Change-Id: I4e5ff524ec0b8e8cd847fce1b205f3dae1de8804
2021-10-01Run mobly tests as a suiteHansong Zhang
Test: cert/run Bug: 199439539 Tag: #refactor Change-Id: Iba96bb97f252f88f6247c026be3833b3212ed156
2021-09-29Cert: make sure we unregister controllers during teardownJack He
* Controller unregisteration should be in a "finally" block to make sure it runs even when there is an exception or test failure Bug: 197893665 Test: gd/cert/run Tag: #gd-refactor Change-Id: Ia038b461f373f1d774f0fa9307a793e546ebe001
2021-09-24Use bluetooth-specific statslogMuhammad Qureshi
Use generated statslog_bt that contains a subset of stats_write methods only required for bluetooth module. This replaces monolithic libstatslog. There's currently a stats_write method signature collision with another atom (b/200741446). This fixes the collision by only linking against stats_write() methods needed for atoms with the 'bluetooth' module annotation. Bug: 200741446 Tag: #refactor Test: atest net_test_btif Test: atest net_test_btif_profile_queue Test: gd/cert/run Test: m libbtif Test: m libbluetooth Test: m bt_headless Test: m libstatslog_bt Test: m Change-Id: I4323117ddcdd344e2dcf15a7631e2dec37f0b38f
2021-09-20Blueberry: Add test_extended_advertising_supportMyles Watson
Fixes: 200579729 Test: cert/run Tag: #feature Change-Id: Ia19db694406bd524fd11ed83851c5003a1d909d9
2021-09-17Keep track of the test context to be able to write test output to ↵shiu
test-specific directories. Bug: 200205255 Test: cert/run Change-Id: I4f730500dee387dd0e14c36d1c9cfdeb188e0898
2021-09-16Cert: Wait for root server to start using futureJack He
* Wait up to 15 seconds for gRPC root server to start * Do not use signal port any more * Also remove signal port usage from topshim tests Bug: 197895596 Test: gd/cert/run Tag: #gd-refactor Change-Id: I97768a7f818f268ce6cc9942c6524ec5b5b93d2c
2021-09-03Add adb remount after reboot to ensure push file to real device successJizheng Chu
Bug: 196088041 Test: gd/cert/run Change-Id: I6346cbaff0a8e2c72aa7365bfc09038173fa15a4
2021-09-02Set up ports after verity check for real device setupJizheng Chu
In case of using freshly flashed devices, a reboot is trigged in ensure_verity_disabled, port forward and reverse should be setup after the reboot to ensure backing process start success. Bug: 196088041 Test: gd/cert/run Change-Id: I07e9a7a3a64ee6b44aca1b1b4cde2074661532e3
2021-08-25Cert: Skip LE security test in setup classJack He
* Reduce execution time as we no longer need to run test setup and tear down Bug: 197775411 Test: gd/cert/run Tag: #gd-refactor Change-Id: I52dfc6e5b0076d68a83c824acfb6907e70a7a603
2021-08-24Cert: Add error catching during setup and teardown of testJack He
* Catch RpcError during starting and stopping of BT stack * Catch Environment error when reading from backing log file Bug: 197161864 Tag: #gd-refactor Test: gd/cert/run Change-Id: Iaa730fd21dd596887799c1db93ec0d45166a5461
2021-08-19Merge changes from topic "modify_setup_teardown"Treehugger Robot
* changes: Cert: generate coverage report in teardown_class Cert: do not count coverage report in external and out dirs Construct and destroy rootcanal and gd device objects per test
2021-08-19Copy topshim adapter test to blueberryHansong Zhang
To run with other blueberry tests. Test: build Bug: 181590011 Tag: #refactor Change-Id: Idd7a15e50c7552a34a5165e1a546072fd384eeef
2021-08-19Cert: generate coverage report in teardown_classJack He
* Generate coverage report in teardown class to same time * Merge coverage data after each test case * But only generate coverage report after running all tests in a class * It takes about 1 second to merge coverage data and 2 seconds to generate test reports. Hence this CL would roughly save 2 seconds for each test case * This CL assumes that all test cases in the same test class use the same underlying stack binary * An assert is added to make sure this is true Bug: 194826691 Test: gd/cert/run Tag: #gd-refactor Change-Id: I108c580ea8755fa8a161bef1ddda90a49bc7a430
2021-08-18Construct and destroy rootcanal and gd device objects per testJizheng Chu
Modify test setup and teardown such that, rootcanal process and gd device objects are constructed and destroyed for each test case instead of test class. And rootcanal logs and btsnoop logs will be captured for each test case. Test: gd/cert/run Bug: 194826691 Change-Id: If3aef425c0f3aa26fe37130406f9925e60ea85c0
2021-07-21Fix ACTs/Mobly conflictsDavid Liem
GDCert Real device tests were failing due to unknown command "ensure-root". This problem was due to unexpected mobly references while running ACTs tests. This was caused by the Blueberry instances of the GDCert tests included in the acts directory. Test: gd/cert/run Bug: 193076304 Tag: #feature Change-Id: I8768166abb2a5f204be2b9841902f580fec68040
2021-06-25Port GD Cert tests to Blueberry/MoblyJizheng Chu
Bug: 188852781 Test: Build artifact and run GD Cert tests in venv with Mobly installed, see detail steps in go/port-gd-cert Change-Id: I5e9e69ed281b92e980a32546d107dc922a0add33
2021-05-27Include Blueberry files in bluetooth_cert_tests.zip and implement Mobly ↵Jizheng Chu
version of CertSelfTest Bug: 188852669 Test: Build artifact and run CertSelfTest in venv with Mobly, see detail steps in go/port-gd-cert. Change-Id: I29e5c0b0d4afd5ebfc80c85106dca6c605e8898b
2021-05-24Project import generated by Copybara.Pixel and Ecosystems Test
Tag: #compatibility Bug: 189117116 Test: NA PiperOrigin-RevId: 374987840 Change-Id: I1b512359e184ddc47145aa9339ddf3c75e28a2dc