[github-actions] run Thread 1.1 cert tests for 1.2 build (#5547)

This commit runs Thread 1.1 certification tests with packet
verification for 1.2 build because Thread 1.2 certified devices are
supposed to be able to pass Thread 1.1 certification first.

Note: changes to test TOPOLOGY:
- Original: nodes use version=1.1 by default
- Now: nodes use version according to ENV, except explicitly specified
This commit is contained in:
Simon Lin
2020-09-24 19:13:30 -07:00
committed by GitHub
parent 83072bb012
commit 2daa097bb4
5 changed files with 61 additions and 8 deletions
+3 -1
View File
@@ -46,13 +46,15 @@ if PACKET_VERIFICATION:
PORT_OFFSET = int(os.getenv('PORT_OFFSET', "0"))
ENV_THREAD_VERSION = os.getenv('THREAD_VERSION', '1.1')
DEFAULT_PARAMS = {
'is_mtd': False,
'is_bbr': False,
'mode': 'rsdn',
'panid': 0xface,
'allowlist': None,
'version': '1.1',
'version': ENV_THREAD_VERSION,
}
"""Default configurations when creating nodes."""