• Home
Name Date Size #Lines LOC

..--

LowPower/06-Sep-2024-11618

MATN/06-Sep-2024-1,838953

nat64/06-Sep-2024-882494

README.mdD06-Sep-2024853 2617

test_advertising_proxy.pyD06-Sep-202415.5 KiB375224

test_border_router_as_fed.pyD06-Sep-20243.3 KiB10246

test_dnssd_instance_name_with_space.pyD06-Sep-20248.4 KiB225136

test_dnssd_server.pyD06-Sep-202413.6 KiB346234

test_dnssd_server_multi_border_routers.pyD06-Sep-202417.1 KiB438305

test_end_device_udp_reachability.pyD06-Sep-20244.8 KiB15383

test_external_route.pyD06-Sep-20245.9 KiB169100

test_firewall.pyD06-Sep-202415.7 KiB333196

test_manual_address.pyD06-Sep-20243.2 KiB10242

test_manual_maddress.pyD06-Sep-20244.1 KiB11956

test_manual_omr_prefix.pyD06-Sep-20245.9 KiB14877

test_mdns_restart.pyD06-Sep-20246 KiB172101

test_multi_border_routers.pyD06-Sep-20248.6 KiB221127

test_multi_thread_networks.pyD06-Sep-20246 KiB16193

test_on_link_prefix.pyD06-Sep-20246.9 KiB194116

test_plat_udp_accessiblity.pyD06-Sep-20245.1 KiB14773

test_publish_meshcop_service.pyD06-Sep-20247.6 KiB197130

test_radvd_coexist.pyD06-Sep-20247.2 KiB190105

test_rcp_radio_version.pyD06-Sep-20242.5 KiB7124

test_single_border_router.pyD06-Sep-202414.1 KiB346190

test_srp_register_500_services_br.pyD06-Sep-20243 KiB8230

test_trel_connectivity.pyD06-Sep-20246 KiB181112

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