Commit Graph

12 Commits

Author SHA1 Message Date
Yakun Xu af2bfc1cc4 [test] save packets as pcap file in thread-cert tests (#2965) 2018-08-20 09:27:04 -07:00
Jonathan Hui d426d7cfbd [posix] implement virtual time and update tests to utilize virtual time (#2508)
This commit adds the following features:

- Example posix drivers to support virtual time simulation, allowing tests
  to run faster than real time.

- A python-based simulation driver that coordinates the virtual time
  simulations.  Each alarm event and message transmission across all nodes
  are scheduled in a single discrete time event queue.  As a result, only
  a single node is making forward progress at a time.

- Updated tests to utilize new virtual-time simulator, allowing them to run
  faster than real time.

- To enable virtual time feature, define VIRTUAL_TIME=1 env var and set
  CPPFLAGS=-DOPENTHREAD_POSIX_VIRTUAL_TIME=1.
2018-01-29 19:30:46 +00:00
hjian2017 58a89be622 [tests] add traffic analysis for Cert_5_3_04_AddressMapCache.py (#2290) 2017-10-30 09:34:53 -07:00
Buke Po 6060448140 [tests] change to test mtd apps (#2140)
* [mle] fix mtd child not reattach after partition
2017-09-10 21:14:14 -07:00
Giuseppe Andreello 6d8d42e9bf Fixed python interpreter directives (#1667)
Changed the interpreter directives from '#!/usr/bin/python' to
'#!/usr/bin/env python' so the OpenThread tests can be run
inside a python virtualenv.
2017-04-26 21:23:02 -07:00
Jonathan Hui 9096c98f01 Increase attach timeout to 5 seconds to account for random delays. (#700) 2016-09-27 13:34:48 -07:00
Xiao Ma a74e0496b8 Delay a random jitter period prior to request a Router ID for REED. (#554)
* Delay a random jitter period prior to request a Router ID for REED.

* Update Cert_5_1_09_REEDAttachConnectivity.py to pass Travis check.

* Add CLI to set/get the ROUTER_SELECTION_JITTER and update Certification scripts.

  - add 'posix-ncp' to allow failure list in .travis.yml.
2016-09-26 10:03:09 -07:00
Nick Banks c063ec1477 Refactor Python Node ping function (#643)
* Refactor ping command to remove pexpect dependency on each cert test
2016-09-20 18:13:57 -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
Jonathan Hui 9754e72496 Add python3 support. (#270) 2016-07-21 06:31:34 -07:00
Marcin K Szczodrak 99870fae01 adjust license text width (#22) 2016-05-12 22:39:11 -07:00
Jonathan Hui 4f9945c533 Initial commit 2016-05-10 22:49:53 -07:00