unplugged-system/external/openthread/tests/scripts/thread-cert/border_router
2025-10-06 13:59:42 +00:00
..
LowPower Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
MATN Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
nat64 Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_advertising_proxy.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_border_router_as_fed.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_dnssd_instance_name_with_space.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_dnssd_server_multi_border_routers.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_dnssd_server.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_end_device_udp_reachability.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_external_route.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_firewall.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_manual_address.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_manual_maddress.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_manual_omr_prefix.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_mdns_restart.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_multi_border_routers.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_multi_thread_networks.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_on_link_prefix.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_plat_udp_accessiblity.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_publish_meshcop_service.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_radvd_coexist.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_rcp_radio_version.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_single_border_router.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_srp_register_500_services_br.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
test_trel_connectivity.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

OpenThread Border Router Tests

Run Border Router (BR) tests locally

BR tests run in isolated Docker network and containers, so a new OTBR Docker image needs to be created before running these tests:

# Use root privilege when necessary.

# Download OpenThread's branch of wireshark. Run this for the first time.
./script/test get_thread_wireshark

# Clear current OpenThread directory (remember to add new source files).
git clean -xfd

# Rebuild the OTBR Docker image if OTBR source code is updated.
LOCAL_OTBR_DIR=$HOME/ot-br-posix ./script/test build_otbr_docker

# Build simulated OpenThread firmware.
VIRTUAL_TIME=0 ./script/test build

# Run the BR tests locally.
TEST_CASE=./tests/scripts/thread-cert/border_router/test_advertising_proxy.py
VERBOSE=1 PACKET_VERIFICATION=1 VIRTUAL_TIME=0 ./script/test cert_suite ${TEST_CASE}