• Home
Name Date Size #Lines LOC

..--

LowPower/03-May-2024-11618

MATN/03-May-2024-1,838953

nat64/03-May-2024-300138

README.mdD03-May-2024853 2617

test_advertising_proxy.pyD03-May-202413 KiB328185

test_border_router_as_fed.pyD03-May-20243.3 KiB10246

test_dnssd_instance_name_with_space.pyD03-May-20248.2 KiB222135

test_dnssd_server.pyD03-May-202414.1 KiB355243

test_dnssd_server_multi_border_routers.pyD03-May-202414.4 KiB380260

test_end_device_udp_reachability.pyD03-May-20244.8 KiB15383

test_external_route.pyD03-May-20245.9 KiB169100

test_firewall.pyD03-May-202412.2 KiB271161

test_manual_address.pyD03-May-20243.2 KiB10242

test_manual_maddress.pyD03-May-20244.1 KiB11956

test_manual_omr_prefix.pyD03-May-20245.9 KiB14877

test_mdns_restart.pyD03-May-20245.8 KiB169101

test_multi_border_routers.pyD03-May-20249 KiB225131

test_multi_thread_networks.pyD03-May-20245.3 KiB15485

test_on_link_prefix.pyD03-May-20248.5 KiB217131

test_plat_udp_accessiblity.pyD03-May-20245.1 KiB14672

test_publish_meshcop_service.pyD03-May-20246.6 KiB176112

test_radvd_coexist.pyD03-May-20247.2 KiB190105

test_rcp_radio_version.pyD03-May-20242.5 KiB7124

test_single_border_router.pyD03-May-202414.6 KiB352196

test_srp_register_500_services_br.pyD03-May-20243 KiB8230

test_trel_connectivity.pyD03-May-20245 KiB15893

README.md

1# OpenThread Border Router Tests
2
3## Run Border Router (BR) tests locally
4
5BR tests run in isolated Docker network and containers, so a new OTBR Docker image needs to be created before running these tests:
6
7```shell
8# Use root privilege when necessary.
9
10# Download OpenThread's branch of wireshark. Run this for the first time.
11./script/test get_thread_wireshark
12
13# Clear current OpenThread directory (remember to add new source files).
14git clean -xfd
15
16# Rebuild the OTBR Docker image if OTBR source code is updated.
17LOCAL_OTBR_DIR=$HOME/ot-br-posix ./script/test build_otbr_docker
18
19# Build simulated OpenThread firmware.
20VIRTUAL_TIME=0 ./script/test build
21
22# Run the BR tests locally.
23TEST_CASE=./tests/scripts/thread-cert/border_router/test_advertising_proxy.py
24VERBOSE=1 PACKET_VERIFICATION=1 VIRTUAL_TIME=0 ./script/test cert_suite ${TEST_CASE}
25```
26