48 Commits

Author SHA1 Message Date
Yakun Xu 11a38a63de [build] remove autotools (#9027)
This commit removes autotools support from OpenThread project.
2023-06-28 08:54:23 -07:00
Zhangwx e0ff88879f [harness-automation] fix the result parsed uncorrectly using Chrome 80 (#5958) 2020-12-21 07:13:44 -08:00
Jing Ma 487ec3aa94 [harness-automation] update readme (#5646)
Update latest supported Test Harness version in README file.
2020-10-14 10:16:13 -07:00
Jonathan Hui dc9b032dad [mle] remove secure data request mode bit (#5560)
- Always set to 1 on transmission.
- Always ignore on reception.
2020-09-29 15:30:37 -07:00
Jonathan Hui 0d8a99bd05 [cli] implement network data print (#5543)
- Print human-readable network data.
- Create network data sub-command.
2020-09-19 10:28:17 -07:00
Jonathan Hui 5bffd8bc4d [mac-filter] change whitelist/blacklist to allowlist/denylist (#5507)
To promote inclusivity and eliminate any unintentional bias.
2020-09-11 16:03:39 -07:00
Simon Lin d7343c877b [style] change python yapf column_limit to 119 (#5339) 2020-08-06 21:40:24 -07:00
Jing Ma 75e21adcec [harness-automation] add a parser tool for TopologyConfig file (#4975)
- parse TopologyConfig file in Thread Certification Test Harness
- list multi-vendor device numbers by case
- list needed vendor device numbers for the whole certification testbed
2020-06-08 10:15:59 -07:00
Jing Ma 204308f4a7 [harness-automation] fix browser stuck in navigating to url (#5005) 2020-05-27 22:43:57 -07:00
Jonathan Hui dd0fa0d34c [shell] resolve shellcheck warnings (#4966) 2020-05-19 13:04:42 -07:00
doublemis1 2153f5a4f4 [harness-automation] add another PDU Controller for EATON by SNMP (#4688)
Another PDU Controller used to power cycle between tests. Based by
SNMP protocol. To use EATON_PDU_CONTROLLER is needed PySNMP module
(added to requirements.txt). Also extend settings_sample.py by
comments with needed parameters to create EATON_PDU_CONTROLLER.
2020-05-04 14:43:34 -07:00
Jing Ma 8d5fc20eda [harness-automation] fix case selection issue when using Chrome 80 (#4648)
elem.txt might be null when the required reference devices could not
be met (either due to the quantity or the type) for specific test.
perform() will throw exceptions if elem.text is null since Chrome and
chromedriver 80. If elem is not shown in current case list window,
move_to_element() will not work either.
2020-04-08 11:34:41 -07:00
Simon Lin c8dff09d3a [python] remove unnecessary calls to dict.keys() (#4576) 2020-02-18 10:16:06 -08:00
Yakun Xu 33808ebfba [style] apply google python style guide (#4501)
This commit applies and enforces Google's python style for tests.
2020-02-04 10:27:50 -08:00
Jing Ma 554407d107 [harness-automation] support RF-shield test cases (#4231)
- RF-shield needed cases 6.3.2, 5.6.7, 9.2.9, 9.2.10 automation both
  on CV and IV testbed

- Added DUT2_DEVICE and SHIELD_GOLDEN_DEVICES in settings file which
  list the second DUT and golden devices in RF-box. The emulation of
  the required shielding/unshielding test environment is achieved by
  controlling the programmable RF-switch (example: Agilent 3499B + HP
  44476A microwave switch module) via scripts (configure
  SHIELD_CONTROLLER_TYPE and SHIELD_CONTROLLER_PARAMS in settings
  file) and final impacting the IN/OUT signal of the devices in the
  box.

- Added case_need_shield and device_order parameters in RF-shield
  needed case scripts for checking if test case needs to use RF-shield
  box and its device order on the Test Harness Testbed page.
2019-12-11 09:14:37 -08:00
Jing 082c1c79f5 [harness-automation] save case failure times (#4261)
Save failure times for each case for judging if case passes randomly.
2019-11-06 07:03:16 -08:00
Jing 0d9263cc0e [harness-automation] update to support both external and internal Test Harness (#3883)
1. add new role support for border router and its 8 cases 7.1.x

2. update cases referring to Test Harness v50.x

3. for version larger than R1.4.0, not trigger saving results
   web-operation since it will auto save.

4. use "python3 -m black -l 119 -S" to format harness-automation
   directory

5. correct required golden device numbers
2019-10-09 08:42:09 -07:00
Jonathan Hui f924adcb60 [style] update python style to conform to PEP 8 (#3951)
With the exception of line length set to 119 vs. 79.

Add tests/ and tools/ to py-pretty-check.
2019-07-11 11:45:55 -04:00
wacmac 103a9db541 [harness-automation] update device category (#3449) 2019-01-10 08:55:39 -08:00
Jing 6f578589ff [harness-automation] add new test cases according to testplan changes (#3270) 2018-11-05 20:48:48 -08:00
Jing 492f0c3b10 [harness-automation] update read method for TopologyConfig.txt format change (#2950) 2018-08-07 10:47:01 -05:00
Jing 63245f67f0 [harness-automation] support Test Harness V1.1 R1.2.1 and testbeds with mixed-type devices (#2586) 2018-03-07 17:35:38 +00:00
Jing 67d61e50a1 [harness-automation] adjust golden device numbers based on TestPlanV1.2.0 (#2583) 2018-02-26 21:55:10 +00:00
Maciej Nycz c1a72f84c9 [harness-automation] add option to add all devices to the test bed (#2293) 2017-10-23 22:31:23 -07:00
Maciej Nycz 6a09e466d5 [harness-automation] delete deprecated test cases (#2292) 2017-10-23 22:30:18 -07:00
Maciej Nycz a39e1f59da [harness-automation] add IpPowerSocketPduController class (#2247) 2017-10-16 07:51:46 -07:00
Jeff Bumgardner 39a492bb09 [docs] doc cleanup after openthread.io launch (#2153)
* Doc cleanup after openthread.io launch

* Removed PROTOCOL.md from Makefile
2017-09-06 10:10:35 -07:00
Maciej Nycz d5fcc825f5 [harness-automation] add rf shield device support (#2172) 2017-09-06 09:52:27 -07:00
Maciej Nycz 9f2085d130 [harness-automation] add option to not restart explorer.exe at the end (#2155) 2017-09-01 12:39:44 -07:00
Maciej Nycz 3f5e796422 [harness-automation] added option to rerun failed test cases (#2149) 2017-08-29 09:27:19 -07:00
Maciej Nycz 78247c8de9 [harness-automation] fix for test cases with many devices (#2088) 2017-08-10 10:09:02 -07:00
Buke Po c1dc4f6aa9 [Harness Automation]: enhance exception handling and refine manual reset feature (#1369)
* refine exception handling

* implement manual pdu controller
2017-02-22 09:17:25 -08:00
Buke Po 30db14f429 detect harness configuration (#1367) 2017-02-21 23:19:34 -08:00
Buke Po aeda7f8970 [Harness Automation] Fix retrying golden device issue and clean code (#1350)
* fix bad golden device issue

* clean code

* fix small issues reported by pylint
2017-02-20 09:06:41 -08:00
Buke Po 1973a03865 fix issues until harness r40 (#1348) 2017-02-19 23:09:15 -08:00
Przemysław Fierek 629516244d Add PDU controller that allows to reboot Nordic dev-kits. (#1201) 2017-02-15 09:11:38 -08:00
Przemysław Fierek fd86da586b Stabilize the harness automation tool. (#1174) 2017-01-23 23:08:35 -08:00
Buke Po 9f00b7048e fix low resolution issue and checking auto dut failure when many devices connected (#1097) 2016-12-21 09:04:20 -08:00
Buke Po 97fbca2063 support interop and harness r34 (#1092) 2016-12-19 21:47:57 -08:00
Buke Po dc55779df1 Improvements for r33 (#1071)
* get firmware version at runtime

* walkaround harness hang issue
2016-12-13 21:29:50 -08:00
Buke Po 9077725472 updates to support Thread Harness1.1 R33 (#1053) 2016-12-08 10:22:22 -08:00
Buke Po 1a81edba82 Grep case name (#924)
* support grep

* support filename matching for name greps
2016-11-03 12:53:22 -07:00
Buke Po 86e7908951 fix bad golden device retrial (#923) 2016-11-03 12:14:47 -07:00
Buke Po 82ab677049 Support GRL harness release v27 (#871)
* support ser2net and add some non-core feature test cases

* add missing non-core feature test cases
2016-10-24 17:46:49 -07:00
Buke Po 5aa9ff75bb Remove deprecated cases (#707)
* remove deprecated test cases

* try to recovery from serial port failures
2016-09-28 09:10:20 -07:00
Jonathan Hui 44350178ad Change copyright to The OpenThread Authors. (#583)
- Add a top-level file named AUTHORS which identifies the copyright
holders of the project.
2016-09-13 15:57:11 -07:00
Buke Po a7ed23c16c support Thread Harness 1.1 R19 (#520) 2016-09-06 09:33:19 -07:00
Buke Po ba813c2ac3 create harness automation (#355) 2016-08-10 10:02:42 -07:00