Home
last modified time | relevance | path

Searched full:script (Results 1 – 25 of 134) sorted by relevance

123456

/openthread-latest/tests/scripts/thread-cert/
Drun_cert_suite.py60 def run_cert(iteration_id: int, port_offset: int, script: str, run_directory: str):
61 if not os.access(script, os.X_OK):
62 logging.warning('Skip test %s, not executable', script)
66 test_name = os.path.splitext(os.path.basename(script))[0] + '_' + str(iteration_id)
76 abs_script = os.path.abspath(script)
130 for script in scripts:
131 relpath = os.path.relpath(script, _BACKBONE_TESTS_DIR)
158 for script in scripts:
159 success_count = len(script_successes[script])
160 failure_count = len(script_failures[script])
[all …]
/openthread-latest/.github/workflows/
Dsimulation-1.4.yml89 ./script/test build
93 ./script/test prepare_coredump_upload
94 ./script/test unit
95 ./script/test cert_suite tests/scripts/thread-cert/v1_2_*
99 CRASHED=$(./script/test check_crash | tail -1)
115 ./script/test generate_coverage "${{ matrix.compiler.gcov }}"
153 ./script/test build
156 …csl_receiver_local_time_sync" OT_OPTIONS="-DOT_CSL_RECEIVER_LOCAL_TIME_SYNC=ON" ./script/test build
159 ./script/test get_thread_wireshark
163 ./script/test prepare_coredump_upload
[all …]
Dposix.yml71 ./script/test prepare_coredump_upload
72 …OGS=ON -DOT_LOG_OUTPUT=PLATFORM_DEFINED' VIRTUAL_TIME=0 OT_NODE_TYPE=rcp ./script/test build expect
75 OT_CMAKE_NINJA_TARGET="ot-fct" script/cmake-build posix
80 CRASHED=$(./script/test check_crash | tail -1)
91 ./script/test generate_coverage gcc
108 ./script/test prepare_coredump_upload
109 …UTPUT=PLATFORM_DEFINED' OT_NATIVE_IP=1 VIRTUAL_TIME=0 OT_NODE_TYPE=rcp ./script/test clean build e…
113 CRASHED=$(./script/test check_crash | tail -1)
129 ./script/test generate_coverage gcc
163 OT_NODE_TYPE=rcp ./script/test build
[all …]
Dsimulation-1.1.yml76 ./script/test build
79 ./script/test get_thread_wireshark
82 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
92 ./script/test generate_coverage gcc
129 ./script/test build
132 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
140 ./script/test generate_coverage gcc
184 ./script/test build
187 …./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py ./tests/scripts/thread-cert/test_*.…
195 ./script/test generate_coverage gcc
[all …]
Dotns.yml80 ./script/git-tool clone --depth 1 https://github.com/openthread/ot-ns.git /tmp/otns
83 ./script/test py-unittests
94 ./script/test generate_coverage gcc
120 ./script/git-tool clone --depth 1 https://github.com/openthread/ot-ns.git /tmp/otns
123 ./script/test py-examples
134 ./script/test generate_coverage gcc
182 ./script/git-tool clone --depth 1 https://github.com/openthread/ot-ns.git /tmp/otns
185 ./script/test stress-tests ${{ matrix.suite }}
196 ./script/test generate_coverage gcc
226 script/test upload_codecov
Dotbr.yml72 ./script/test build_otbr_docker
80 ./script/test build
83 ./script/test get_thread_wireshark
88 …sudo -E ./script/test cert_suite ./tests/scripts/thread-cert/backbone/*.py || (sudo chmod a+r ot_t…
106 ./script/test generate_coverage gcc
194 ./script/test build_otbr_docker
202 ./script/test build
205 ./script/test get_thread_wireshark
210 …sudo -E ./script/test cert_suite ${{ matrix.cert_scripts }} || (sudo chmod a+r ot_testing/* && fal…
228 ./script/test generate_coverage gcc
[all …]
Dbuild.yml72 script/make-pretty check
111 script/code-spell check
137 OT_NODE_TYPE=rcp ./script/test build
170 script/test package
189 script/check-scan-build
213 ./script/test build
270 script/check-arm-build
302 script/check-simulation-build
303 script/check-posix-build
333 script/check-simulation-build
[all …]
Dunit.yml82 …run: ./script/cmake-build simulation -DOT_BUILD_GTEST=ON -DOT_BORDER_ROUTING=ON -DOT_BORDER_ROUTIN…
86 run: ./script/cmake-build simulation -DOT_BUILD_GTEST=ON -DOT_MULTIPAN_TEST=ON
90 …run: ./script/cmake-build simulation -DOT_BUILD_GTEST=OFF -DOT_MTD=OFF -DOT_RCP=OFF -DOT_APP_CLI=O…
95 run: ./script/cmake-build posix
100 ./script/test generate_coverage gcc
129 script/test combine_coverage
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dcheck-generated-files.sh15 This script checks that all generated file are up-to-date. If some aren't, by
51 # check SCRIPT FILENAME[...]
52 # check SCRIPT DIRECTORY
53 # Run SCRIPT and check that it does not modify any of the specified files.
57 # list of files in the directory. Running SCRIPT must not modify any file
62 SCRIPT=$1
85 "$SCRIPT"
87 # Compare the script output to the old files and remove backups
94 echo "'$FILE' was either modified or deleted by '$SCRIPT'"
109 echo "Files were deleted or created by '$SCRIPT'"
[all …]
Dtest_config_script.py53 """Figure out what presets the script supports.
55 help_text should be the output from running the script with --help.
76 extracted from running the config script with --help.
81 help_text = subprocess.run([options.script, '--help'],
88 """Run the config script with the given arguments.
114 cmd = [os.path.abspath(options.script),
127 ### This script currently tests what happens when you change a symbol from
168 dest='script', default='scripts/config.py',
169 help="""Configuration script (default: %(default)s).""")
Dlist_internal_identifiers.py7 This script generates a file called identifiers that contains all Mbed TLS
15 The script returns 0 on success, 1 if there is a script error.
27 "This script writes a list of parsed identifiers in internal "
Ddocker_env.sh8 # This is a helper script to enable running tests under a Docker container,
12 # WARNING: the Dockerfile used by this script is no longer maintained! See
18 # This script expects a Linux x86_64 system with a recent version of Docker
20 # server must be used, invoke this script with the usual environment variables
26 # Running this script directly will check for Docker availability and set up
Dlist-identifiers.sh45 Sorry, this script has to be called with --internal.
47 This script exists solely for backwards compatibility with the previous
51 check-names.sh, which used to depend on this script, has been replaced with
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dverify.py53 script = test_info['script']
55 script = os.path.relpath(script, THREAD_CERT_DIR)
57 module_name = os.path.splitext(script)[0].replace('/', '.')
58 logging.info("Loading %s as module %s ...", script, module_name)
60 … spec = importlib.util.spec_from_file_location(module_name, os.path.join(THREAD_CERT_DIR, script))
71 assert test_class is not None, "can not find a test class in %s" % script
/openthread-latest/script/
Dcmake-build31 # This script calls cmake and ninja to compile OpenThread for the given platform.
35 # script/cmake-build ${platform}
39 # script/cmake-build ${platform} -D${option}=ON
43 # script/cmake-build ${platform} -D${option}=OFF
47 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/cmake-build ${platform}
48 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd ot-cli-mtd" script/cmake-build ${platform}
52 # OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build ${platform}
56 # script/cmake-build simulation
58 # script/cmake-build simulation -DOT_FULL_LOGS=ON -DOT_CHANNEL_MANAGER=OFF
60 # OT_CMAKE_NINJA_TARGET="ot-cli-mtd" OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build simu…
[all …]
Dmake-pretty31 # The script to check or format source code of OpenThread.
35 # script/make-pretty
39 # script/make-pretty clang
40 # script/make-pretty clang-format
41 # script/make-pretty clang-tidy
45 # script/make-pretty markdown
49 # script/make-pretty python
53 # script/make-pretty shell
57 # script/make-pretty check clang
58 # script/make-pretty check clang-format
[all …]
Dtest157 …OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-simulation-${version}" "${OT_SRCDIR}"/script/cmake-b…
160 …ILD_DIR="${OT_BUILDDIR}/openthread-simulation-${version}" "${OT_SRCDIR}"/script/cmake-build simula…
167 …DIR="${OT_BUILDDIR}/openthread-simulation-${version}-bbr" "${OT_SRCDIR}"/script/cmake-build simula…
170 …DIR="${OT_BUILDDIR}/openthread-simulation-${version}-bbr" "${OT_SRCDIR}"/script/cmake-build simula…
211 …OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-posix-${version}" "${OT_SRCDIR}"/script/cmake-build …
217 …OT_CMAKE_BUILD_DIR="${OT_BUILDDIR}/openthread-posix-${version}-bbr" "${OT_SRCDIR}"/script/cmake-bu…
243 ./script/gcda-tool clean
396 … ./script/git-tool clone https://github.com/openthread/ot-br-posix.git --depth 1 "${otbrdir}"
433 for script in "$@"; do
434 echo -e "\n${OT_COLOR_PASS}EXEC${OT_COLOR_NONE} ${script}"
[all …]
Dcode-spell31 # The script to correct or check the code spell of OpenThread.
34 # script/code-spell
38 # script/code-spell check
50 'script'
/openthread-latest/third_party/mbedtls/repo/programs/
Ddemo_common.sh3 ## How to write a demo script
6 ## Include this file near the top of each demo script:
9 ## Start with a "msg" call that explains the purpose of the script.
13 ## As the last thing in the script, call the cleanup function.
23 # The code works no matter where the demo script is relative to the current
115 ## Call this function at the end of each script.
116 ## It is called automatically if the script is killed by a signal.
125 ## meant to be called directly from a demo script.
/openthread-latest/tests/scripts/thread-cert/border_router/
DREADME.md11 ./script/test get_thread_wireshark
17 LOCAL_OTBR_DIR=$HOME/ot-br-posix ./script/test build_otbr_docker
20 VIRTUAL_TIME=0 ./script/test build
24 VERBOSE=1 PACKET_VERIFICATION=1 VIRTUAL_TIME=0 ./script/test cert_suite ${TEST_CASE}
/openthread-latest/tools/harness-simulation/posix/etc/
DDockerfile74 # Required and installed during build (script/bootstrap), could be removed
92 && ./script/bootstrap.sh \
101 && ./script/bootstrap \
102 && ./script/setup \
104 && mv ./script /tmp \
108 && mv /tmp/script . \
Dserver.patch1 --- script/server 2022-08-15 11:41:53.915673348 +0800
2 +++ script/server2 2022-08-15 11:43:12.387100651 +0800
17 die 'Unable to find service manager. Try script/console to start in console mode!'
/openthread-latest/src/posix/
DREADME.md22 ./script/cmake-build posix
37 ./script/cmake-build simulation -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF -DOT_FTD=OFF -DOT_MTD=OFF
71 ./script/bootstrap
80 script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB
87 script/build nrf52840 UART_trans
148 ./script/cmake-build posix -DOT_DAEMON=ON
/openthread-latest/tests/toranj/
DREADME_CLI.md14 To build OpenThread with `toranj` configuration, the `test/toranj/build.sh` script can be used:
28 The `toranj-cli` tests are included in `tests/toranj/cli` folder. Each test-case has its own script
37 To run all CLI tests, `start` script can be used. This script will build OpenThread with proper con…
110 Script below shows how to create a 3-node network topology with `node1` and `node2` being routers, …
141 When `start.sh` script is used to run all test-cases, if any test fails, to help with debugging of …
174 - `thread-cert` test cases can run quickly (due to virtual time emulation), but the test script its…
/openthread-latest/doc/
Dheader.html11 <script type="text/javascript" src="$relpath^jquery.js"></script>
12 <script type="text/javascript" src="$relpath^dynsections.js"></script>

123456