Home
last modified time | relevance | path

Searched +full:run +full:- +full:unittests (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/external/openthread/.github/workflows/
Dotns.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
51 permissions: # added using https://github.com/step-security/secure-workflows
56 unittests:
57 name: Unittests
58 runs-on: ubuntu-24.04
60 - name: Harden Runner
[all …]
/external/perfetto/gn/
Dperfetto_unittests.gni7 # http://www.apache.org/licenses/LICENSE-2.0
20 "src/base:unittests",
21 "src/base/threading:unittests",
22 "src/protozero:unittests",
23 "src/shared_lib:unittests",
24 "src/tracing/core:unittests",
25 "src/tracing/service:unittests",
26 "src/tracing:unittests",
27 "src/profiling:unittests",
28 "src/profiling/symbolizer:unittests",
[all …]
/external/chromiumos-config/
Drun_py_unittests.sh1 #!/bin/bash -e
4 # Use of this source code is governed by a BSD-style license that can be
7 # Runs python unittests in a venv.
16 # Discover and run unittests in payload_utils.
17 echo "Running unittests..."
18 vpython3 -m unittest discover -s payload_utils -p "*test.py"
21 PYTHONPATH=payload_utils vpython3 -m pylint "$(pwd)/payload_utils" \
22 --rcfile=payload_utils/pylintrc
25 if ! vpython3 -m yapf --style .style.yapf --diff -r payload_utils ; then
26 …echo "Python files require reformatting. Please run 'yapf --style .style.yapf --in-place -r payloa…
/external/libcups/
DMakefile2 # Top-level Makefile for CUPS.
4 # Copyright © 2007-2021 by Apple Inc.
5 # Copyright © 1997-2007 by Easy Software Products, all rights reserved.
22 # Test suite options - normally blank, override with make command...
33 chmod +x cups-config
44 (cd $$dir ; $(MAKE) $(MFLAGS) all $(UNITTESTS)) || exit 1;\
71 unittests: target
82 (cd $$dir ; $(MAKE) $(MFLAGS) unittests) || exit 1;\
98 # Remove all non-distribution files...
103 $(RM) conf/cups-files.conf conf/cupsd.conf conf/mime.convs conf/pam.std conf/snmp.conf
[all …]
/external/cronet/stable/third_party/llvm-libc/src/docs/
Dbuild_and_test.rst12 #. **The overlay mode** - In this mode, one uses the static archive from LLVM's
14 on building and using the libc in this mode. You can only run the libc
15 unittests in this mode. To run them, one simply does:
17 .. code-block:: sh
19 $> ninja check-libc
21 Note that, unittests for only those functions which are part of the overlay
22 static archive will be run with the above command.
24 #. **The full build mode** - In this mode, the libc is used as the only libc
27 build, you can run three kinds of tests:
29 #. Unit tests - You can run unittests by the command:
[all …]
/external/cronet/tot/third_party/llvm-libc/src/docs/
Dbuild_and_test.rst12 #. **The overlay mode** - In this mode, one uses the static archive from LLVM's
14 on building and using the libc in this mode. You can only run the libc
15 unittests in this mode. To run them, one simply does:
17 .. code-block:: sh
19 $> ninja check-libc
21 Note that, unittests for only those functions which are part of the overlay
22 static archive will be run with the above command.
24 #. **The full build mode** - In this mode, the libc is used as the only libc
27 build, you can run three kinds of tests:
29 #. Unit tests - You can run unittests by the command:
[all …]
/external/antlr/runtime/Python/
Dsetup.py20 def run(self): member in clean
21 _clean.run(self)
31 't[0-9]*Lexer.py', 't[0-9]*Parser.py',
35 for path in ('antlr3', 'unittests', 'tests'):
60 # grml.. the class name appears in the --help output:
66 """Run unit tests for package"""
68 description = "run unit tests for package"
71 ('xml-output=', None,
82 def run(self): member in unittest
83 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
[all …]
/external/antlr/runtime/Python3/
Dsetup.py26 def run(self): member in clean
27 _clean.run(self)
37 't[0-9]*Lexer.py', 't[0-9]*Parser.py',
41 for path in ('antlr3', 'unittests', 'tests'):
66 # grml.. the class name appears in the --help output:
72 """Run unit tests for package"""
74 description = "run unit tests for package"
85 def run(self): member in unittest
86 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
89 "There is no 'unittests' directory. Did you fetch the "
[all …]
/external/protobuf/kokoro/linux/aarch64/
Dpython_run_tests_with_qemu_aarch64.sh3 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
10 ${PYTHON} -m pip install --user pytest auditwheel
13 (${PYTHON} -c 'import sysconfig; print(sysconfig.get_platform())' | grep -q "linux-aarch64") || (ec…
15 # step 1: run all python unittests
16 # we've built the python extension previously with --inplace option
17 # so we can just discover all the unittests and run them directly under
19 LD_LIBRARY_PATH=../src/.libs PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp ${PYTHON} -m pytest google/…
21 # step 2: run auditwheel show to check that the wheel is manylinux2014 compatible.
22 # auditwheel needs to run on wheel's target platform (or under an emulator)
[all …]
/external/cronet/stable/third_party/protobuf/kokoro/linux/aarch64/
Dpython_run_tests_with_qemu_aarch64.sh3 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
10 ${PYTHON} -m pip install --user pytest auditwheel
13 (${PYTHON} -c 'import sysconfig; print(sysconfig.get_platform())' | grep -q "linux-aarch64") || (ec…
15 # step 1: run all python unittests
16 # we've built the python extension previously with --inplace option
17 # so we can just discover all the unittests and run them directly under
19 LD_LIBRARY_PATH=../src/.libs PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp ${PYTHON} -m pytest google/…
21 # step 2: run auditwheel show to check that the wheel is manylinux2014 compatible.
22 # auditwheel needs to run on wheel's target platform (or under an emulator)
[all …]
/external/cronet/tot/third_party/protobuf/kokoro/linux/aarch64/
Dpython_run_tests_with_qemu_aarch64.sh3 set -ex
9 PYTHON="/opt/python/cp38-cp38/bin/python"
10 ${PYTHON} -m pip install --user pytest auditwheel
13 (${PYTHON} -c 'import sysconfig; print(sysconfig.get_platform())' | grep -q "linux-aarch64") || (ec…
15 # step 1: run all python unittests
16 # we've built the python extension previously with --inplace option
17 # so we can just discover all the unittests and run them directly under
19 LD_LIBRARY_PATH=../src/.libs PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp ${PYTHON} -m pytest google/…
21 # step 2: run auditwheel show to check that the wheel is manylinux2014 compatible.
22 # auditwheel needs to run on wheel's target platform (or under an emulator)
[all …]
/external/swiftshader/tests/kokoro/macos/
Dcontinuous.sh4 set -e
5 # Display commands being run.
6 set -x
8 cmake --version
12 mkdir -p build && cd build
14 if [[ -z "${REACTOR_BACKEND}" ]]; then
29 "-DSWIFTSHADER_ASAN=${ASAN}" \
30 "-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" \
31 "-DREACTOR_BACKEND=${REACTOR_BACKEND}" \
32 "-DSWIFTSHADER_LLVM_VERSION=${LLVM_VERSION}" \
[all …]
/external/autotest/site_utils/lxc/
Dunittest_setup.py2 # Use of this source code is governed by a BSD-style license that can be
15 """Sets up direct logging to stdout for unittests.
20 FORMAT = ('%(asctime)s.%(msecs)03d %(levelname)-5.5s|%(module)18.18s:'
41 raise EnvironmentError('Unittests should not be run as root.')
47 logging.warning('SSP requires root privilege to run commands, please '
49 utils.run('sudo true')
60 """Parses command line flags for unittests."""
62 parser.add_argument('-v', '--verbose', action='store_true',
65 parser.add_argument('-s', '--skip_cleanup', action='store_true',
78 argv.insert(0, '-v')
[all …]
/external/toolchain-utils/llvm_tools/patch_sync/
DREADME.md3 See go/llvm-patch-sync for motivation, diagrams, and design docs. The
4 `patch_sync` tool also has a detailed `--help`, which can be quickly
5 accessed via `cargo run -- --help`, `cargo run -- transpose --help`,
6 and `cargo run -- show --help`.
12 cargo build --release
20 ## Running Unittests
27 the unittests are unfortunately fairly sparse. Full testing will likely require
40 --sync \
41 --aosp-checkout "${HOME}/android" \
42 --aosp-base-ref "${base_aosp_git_hash}" \
[all …]
/external/tensorflow/tensorflow/python/eager/benchmarks/resnet50/
DREADME.md6 - `resnet50.py`: Model definition
7 - `resnet50_test.py`: Sanity unittests and benchmarks for using the model with
9 - `resnet50_graph_test.py`: Sanity unittests and benchmarks when using the same
14 Using a synthetic data, run:
18 python resnet50_test.py --benchmarks=.
21 python resnet50_graph_test.py --benchmarks=.
25 package. To build (and run benchmarks) from source:
29 bazel run -c opt --config=cuda :resnet50_test -- --benchmarks=.
32 bazel run -c opt --config=cuda :resnet50_graph_test -- --benchmarks=.
35 (Or remove the `--config=cuda` flag for running on CPU instead of GPU).
[all …]
/external/skia/tools/
Dtest_all.py7 Use of this source code is governed by a BSD-style license that can be
10 Run all unittests within this directory tree, recursing into subdirectories.
22 results = unittest.TextTestRunner(verbosity=2).run(suite)
25 raise Exception('failed one or more unittests')
/external/python/python-api-core/.github/workflows/
Dunittest.yml6 - main
9 run-unittests:
10 name: unit${{ matrix.option }}-${{ matrix.python }}
11 …# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once…
12 # Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
13 …en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#sta…
14 runs-on: ubuntu-22.04
19 - "3.7"
20 - "3.8"
21 - "3.9"
[all …]
/external/autotest/client/deps/lansim/src/
Drun_unittests4 # Use of this source code is governed by a BSD-style license that can be
9 UNITTESTS="
14 # Unittests that require creating a TUN/TAP interface (and thus access to
15 # /dev/net/tun) need to be run as root.
21 set -e
28 -f force running all unit test modules, regardless of failure
29 -h display this help and exit
33 # Parse command-line options.
44 echo "Invalid option: -$OPTARG" >&2
50 shift $((OPTIND-1))
[all …]
/external/libva-utils/test/gtest/docs/
DXcodeGuide.md9 …using this command: `svn checkout http://googletest.googlecode.com/svn/trunk/ googletest-read-only`
10 …1. Open up the `gtest.xcodeproj` in the `googletest-read-only/xcode/` directory and build the gtes…
11 1. Create a new "Shell Tool" target in your Xcode project called something like "UnitTests"
12 …framework to your project and add it to the "Link Binary with Libraries" build phase of "UnitTests"
13 1. Add your unit test source code to the "Compile Sources" build phase of "UnitTests"
14 …1. Edit the "UnitTests" executable and add an environment variable named "DYLD\_FRAMEWORK\_PATH" w…
24 svn checkout http://googletest.googlecode.com/svn/trunk/ googletest-read-only
29 …e. However, keeping it outside the trunk in a version-tagged directory called something like `thir…
31-line) property simpler. This same method can be used to check out a tagged branch, by using the a…
44--- The simplest way to add Google Test to your own project, is to open gtest.xcodeproj (found in …
[all …]
/external/swiftshader/tests/kokoro/gcp_windows/
Dcontinuous.bat15 REM Use cmake-3.31.2 from the OS image.
18 REM choco upgrade cmake -y --limit-output --no-progress
19 set PATH=c:\cmake-3.31.2\bin;%PATH%
20 cmake --version
29 -G "%CMAKE_GENERATOR_TYPE%" ^
30 -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_COMPILER="cl.exe" ^
31 "-DREACTOR_BACKEND=%REACTOR_BACKEND%" ^
32 "-DSWIFTSHADER_LLVM_VERSION=%LLVM_VERSION%" ^
33 "-DREACTOR_VERIFY_LLVM_IR=1" ^
34 "-DLESS_DEBUG_INFO=%LESS_DEBUG_INFO%" ^
[all …]
/external/skia/tools/skqp/src/
Dskqp.cpp4 * Use of this source code is governed by a BSD-style license that can be
43 // Returns a list of every unit test to be run.
45 std::vector<SkQP::UnitTest> unitTests; in get_unit_tests() local
50 "Non-GPU test was included in SkQP: %s\n", test.fName); in get_unit_tests()
51 unitTests.push_back(&test); in get_unit_tests()
54 auto lt = [](SkQP::UnitTest u, SkQP::UnitTest v) { return strcmp(u->fName, v->fName) < 0; }; in get_unit_tests()
55 std::sort(unitTests.begin(), unitTests.end(), lt); in get_unit_tests()
56 return unitTests; in get_unit_tests()
64 * control for which Android version an SkSL error test is expected to run.
70 // Returns a list of every SkSL error test to be run.
[all …]
/external/swiftshader/tests/
Drundroid.sh3 # Run an Android NDK binary on the connected device.
7 # $ make vk-unittests
8 # $ ../rundroid vk-unittests
10 if [ "$#" -lt 1 ]; then
20 if [ -z "$ANDROID_HOME" ]; then
24 set -e
25 set -x
28 adb push --sync "$lib" "${dst_dir}/${lib}"
31 adb push --sync "$ANDROID_HOME/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_shared.…
33 adb push --sync "$path" "${dst_dir}/${name}"
/external/armnn/src/dynamic/
DREADME.md19 cmake -DARMNN_PATH=${ARMNN_PATH}/libarmnn.so ..
22 Then run the build
33 A list of (absolute) paths can be specified at compile-time by setting a define named ```DYNAMIC_BA…
34 in the form of a colon-separated list of strings.
37 -DDYNAMIC_BACKEND_PATHS="PATH_1:PATH_2...:PATH_N"
43 -DDYNAMIC_BACKEND_PATHS=${DYNAMIC_BACKEND_DIR}/build
60 ### End-To-End steps to build and test the sample dynamic backend
62 sample dynamic unit tests turned on (**-DSAMPLE_DYNAMIC_BACKEND**) and the path must be provided to…
63 location of where the sample dynamic backend will be located at (**-DDYNAMIC_BACKEND_PATHS**) at ru…
66 …lt using the [Build Tool](../../build-tool/README.md) with the following additional comma-separate…
[all …]
/external/AFLplusplus/
DGNUmakefile2 # american fuzzy lop++ - makefile
3 # -----------------------------
13 # https://www.apache.org/licenses/LICENSE-2.0
30 VERSION = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2)
32 # PROGS intentionally omit afl-as, which gets installed elsewhere.
34 PROGS = afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze
35 SH_PROGS = afl-plot afl-cmin afl-cmin.bash afl-whatsup afl-addseeds afl-system-config afl-persis…
36 MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8) afl-as.8
39 SYS = $(shell uname -s)
40 ARCH = $(shell uname -m)
[all …]
/external/armnn/docs/
DFAQ.md5 -----------------------------------------------------------------------------
16 ---------------------------------------------------------
22 Adding or removing -Dxxx options when building Arm NN does not always work.
23 ---------------------------------------------------------
28 ---------------------------------------------------------
29Unittests executable was built. The usual solution to to copy these files and directories into the…
33 ---------------------------------------------------------
39 …hat has been downloaded from the ML-zoo. In this case [MobileNet v2 1.0 224 UINT8](https://github.…
43 …_model --num_threads=4 --graph=/data/local/tmp/mobilenet_v2_1.0_224_quantized_1_default_1.tflite -…
47 ---------------------------------------------------------
[all …]

12345678910>>...15