| /external/googletest/googletest/test/ |
| D | googletest-output-test.py | 35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden 36 where BUILD/DIR contains the built googletest-output-test_ file. 37 googletest_output_test.py --gengolden 49 GENGOLDEN_FLAG = '--gengolden' 53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' 58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt' 60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_') 64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests']) 65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes']) 70 '--gtest_print_time', [all …]
|
| D | googletest-catch-exceptions-test.py | 33 This script invokes googletest-catch-exceptions-test_ and 34 googletest-catch-exceptions-ex-test_ (programs written with 41 FLAG_PREFIX = '--gtest_' 46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with 49 'googletest-catch-exceptions-ex-test_' 52 # Path to the googletest-catch-exceptions-test_ binary, compiled with 55 'googletest-catch-exceptions-no-ex-test_' 61 # Tests in this file run a Google-Test-based test program and expect it 63 # the premature-exit-file protocol by design. Unset the 64 # premature-exit filepath to prevent Google Test from creating [all …]
|
| /external/cronet/third_party/boringssl/src/third_party/googletest/googletest/test/ |
| D | googletest-output-test.py | 35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden 36 where BUILD/DIR contains the built googletest-output-test_ file. 37 googletest_output_test.py --gengolden 49 GENGOLDEN_FLAG = '--gengolden' 53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' 58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt' 60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_') 64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests']) 65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes']) 70 '--gtest_print_time', [all …]
|
| D | googletest-catch-exceptions-test.py | 33 This script invokes googletest-catch-exceptions-test_ and 34 googletest-catch-exceptions-ex-test_ (programs written with 41 FLAG_PREFIX = '--gtest_' 46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with 49 'googletest-catch-exceptions-ex-test_' 52 # Path to the googletest-catch-exceptions-test_ binary, compiled with 55 'googletest-catch-exceptions-no-ex-test_' 61 # Tests in this file run a Google-Test-based test program and expect it 63 # the premature-exit-file protocol by design. Unset the 64 # premature-exit filepath to prevent Google Test from creating [all …]
|
| /external/cronet/third_party/googletest/src/googletest/test/ |
| D | googletest-output-test.py | 35 googletest_output_test.py --build_dir=BUILD/DIR --gengolden 36 where BUILD/DIR contains the built googletest-output-test_ file. 37 googletest_output_test.py --gengolden 49 GENGOLDEN_FLAG = '--gengolden' 53 NO_STACKTRACE_SUPPORT_FLAG = '--no_stacktrace_support' 58 GOLDEN_NAME = 'googletest-output-test-golden-lin.txt' 60 PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath('googletest-output-test_') 64 COMMAND_LIST_TESTS = ({}, [PROGRAM_PATH, '--gtest_list_tests']) 65 COMMAND_WITH_COLOR = ({}, [PROGRAM_PATH, '--gtest_color=yes']) 67 '--gtest_print_time', [all …]
|
| D | googletest-catch-exceptions-test.py | 33 This script invokes googletest-catch-exceptions-test_ and 34 googletest-catch-exceptions-ex-test_ (programs written with 41 FLAG_PREFIX = '--gtest_' 46 # Path to the googletest-catch-exceptions-ex-test_ binary, compiled with 49 'googletest-catch-exceptions-ex-test_') 51 # Path to the googletest-catch-exceptions-test_ binary, compiled with 54 'googletest-catch-exceptions-no-ex-test_') 59 # Tests in this file run a Google-Test-based test program and expect it 61 # the premature-exit-file protocol by design. Unset the 62 # premature-exit filepath to prevent Google Test from creating [all …]
|
| /external/angle/build/android/gyp/ |
| D | nocompile_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 29 args: shell command-line (as passed to subprocess.Popen()) 36 'Output:-----------------------------------------\n{}\n' \ 37 '------------------------------------------------\n'.format( 67 pout = pout.decode('utf-8') 85 def _find_regex_in_test_failure_output(test_output, regex): argument 89 test_output: test output. 95 if test_output is None: 98 failed_index = test_output.find('FAILED') 102 failure_message = test_output[failed_index:] [all …]
|
| /external/cronet/build/android/gyp/ |
| D | nocompile_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 29 args: shell command-line (as passed to subprocess.Popen()) 36 'Output:-----------------------------------------\n{}\n' \ 37 '------------------------------------------------\n'.format( 67 pout = pout.decode('utf-8') 85 def _find_regex_in_test_failure_output(test_output, regex): argument 89 test_output: test output. 95 if test_output is None: 98 failed_index = test_output.find('FAILED') 102 failure_message = test_output[failed_index:] [all …]
|
| /external/openthread/third_party/mbedtls/repo/tests/scripts/ |
| D | basic-build-test.sh | 3 # basic-build-test.sh 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 14 # * Unit tests - executed using tests/scripts/run-test-suite.pl 15 # * Self-tests - executed using the test suites above 16 # * System tests - executed using tests/ssl-opt.sh 17 # * Interoperability tests - executed using tests/compat.sh 21 # Note the tests self-adapt due to configurations in include/mbedtls/config.h 27 # Usage: basic-build-test.sh 31 set -eu 33 if [ -d library -a -d include -a -d tests ]; then :; else [all …]
|
| /external/mbedtls/tests/scripts/ |
| D | basic-build-test.sh | 3 # basic-build-test.sh 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 14 # * Unit tests - executed using tests/scripts/run-test-suite.pl 15 # * Self-tests - executed using the test suites above 16 # * System tests - executed using tests/ssl-opt.sh 17 # * Interoperability tests - executed using tests/compat.sh 21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h 27 # Usage: basic-build-test.sh 31 set -eu 33 if [ -d library -a -d include -a -d tests ]; then :; else [all …]
|
| /external/pigweed/pw_unit_test/py/pw_unit_test/ |
| D | serial_test_runner.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 17 This library assumes that the on-device test runner emits the test results 18 as plain-text over a serial port, and that tests are triggered by a pre-defined 40 DEFAULT_TEST_START_CHARACTER = ' '.encode('utf-8') 59 def load_binary(self, binary: Path) -> bool: 71 def serial_port(self) -> str: 79 def baud_rate(self) -> int: 88 """Logs subprocess output line-by-line.""" 90 lines = output.decode('utf-8', errors='replace').splitlines() 100 ) -> bytes: [all …]
|
| /external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/ |
| D | cpuset_syscall_testset.sh | 19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # 40 TEST_OUTPUT="$CPUSET_TMP/result" 44 # do_syscall_test - call syscall_test 45 # $1 - cpus 46 # $2 - mems 47 # $3 - syscall_test's args 48 # $4 - expect return value of test task 55 mkdir -p "$TEST_CPUSET" 56 if [ $? -ne 0 ]; then 57 tst_resm TFAIL "mkdir -p $TEST_CPUSET fail." [all …]
|
| /external/openthread/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_cmac.function | 25 unsigned char test_output[MBEDTLS_CIPHER_BLKSIZE_MAX]; 48 TEST_ASSERT(mbedtls_cipher_cmac_finish(NULL, test_output) == 60 test_output) == 66 test_output) == 72 test_output) == 83 test_output) == 88 test_output) == 151 (const unsigned char *) key->x, 158 (unsigned char *) block1->x, 164 (unsigned char *) block2->x, [all …]
|
| /external/mbedtls/tests/suites/ |
| D | test_suite_cmac.function | 25 unsigned char test_output[MBEDTLS_CMAC_MAX_BLOCK_SIZE]; 48 TEST_ASSERT(mbedtls_cipher_cmac_finish(NULL, test_output) == 60 test_output) == 66 test_output) == 72 test_output) == 83 test_output) == 88 test_output) == 157 (const unsigned char *) key->x, 164 (unsigned char *) block1->x, 170 (unsigned char *) block2->x, [all …]
|
| /external/pigweed/targets/lm3s6965evb_qemu/py/lm3s6965evb_qemu_utils/ |
| D | unit_test_runner.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 15 """The script that runs unit tests on lm3s6965evb-qemu targets.""" 21 _TARGET_QEMU_COMMAND = 'qemu-system-arm' 27 def handle_test_results(test_output): argument 29 if test_output.find(_TESTS_STARTING_STRING) == -1: 31 if test_output.rfind(_TESTS_DONE_STRING) == -1: 33 if test_output.rfind(_TEST_FAILURE_STRING) != -1: 39 """Parses command-line arguments.""" 45 def launch_tests(binary: str) -> int: 49 '-cpu', [all …]
|
| /external/bazel-skylib/tests/diff_test/ |
| D | diff_test_tests.sh | 9 # http://www.apache.org/licenses/LICENSE-2.0 17 # --- begin runfiles.bash initialization --- 18 # Copy-pasted from Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash). 19 set -euo pipefail 20 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then 21 if [[ -f "$0.runfiles_manifest" ]]; then 23 elif [[ -f "$0.runfiles/MANIFEST" ]]; then 25 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 29 if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 31 elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then [all …]
|
| /external/igt-gpu-tools/tests/ |
| D | kms_flip.c | 146 return tv->tv_sec + tv->tv_usec / 1000000.0f; in timeval_float() 160 es->name, in dump_event_state() 161 timeval_float(&es->last_ts), in dump_event_state() 162 timeval_float(&es->last_received_ts), in dump_event_state() 163 es->last_seq, in dump_event_state() 164 timeval_float(&es->current_ts), in dump_event_state() 165 timeval_float(&es->current_received_ts), in dump_event_state() 166 es->current_seq, in dump_event_state() 167 es->count, in dump_event_state() 168 es->seq_step); in dump_event_state() [all …]
|
| D | kms_ccs.c | 91 f->width = fb->width; in addfb_init() 92 f->height = fb->height; in addfb_init() 93 f->pixel_format = fb->drm_format; in addfb_init() 94 f->flags = LOCAL_DRM_MODE_FB_MODIFIERS; in addfb_init() 96 for (i = 0; i < fb->num_planes; i++) { in addfb_init() 97 f->handles[i] = fb->gem_handle; in addfb_init() 98 f->modifier[i] = fb->modifier; in addfb_init() 99 f->pitches[i] = fb->strides[i]; in addfb_init() 100 f->offsets[i] = fb->offsets[i]; in addfb_init() 114 /* Use either compressed or Y-tiled to test. However, given the lack of in generate_fb() [all …]
|
| /external/cronet/third_party/googletest/src/.github/workflows/ |
| D | gtest-ci.yml | 9 runs-on: ubuntu-latest 12 - uses: actions/checkout@v2 14 fetch-depth: 0 16 - name: Tests 17 run: bazel test --test_output=errors //... 20 runs-on: macos-latest 23 - uses: actions/checkout@v2 25 fetch-depth: 0 27 - name: Tests 28 run: bazel test --test_output=errors //... [all …]
|
| /external/pigweed/targets/stm32f429i_disc1/py/stm32f429i_disc1_utils/ |
| D | unit_test_runner.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 15 """This script flashes and runs unit tests on stm32f429i-disc1 boards.""" 28 # Path used to access non-python resources in this python module. 49 # than the user-configurable timeout as there's a delay while the device is 63 """Parses command-line arguments.""" 68 '--openocd-config', 73 '--stlink-serial', 79 '--port', 84 '--baud', 91 '--test-timeout', [all …]
|
| /external/cronet/third_party/boringssl/src/third_party/googletest/.github/workflows/ |
| D | gtest-ci.yml | 8 BAZEL_CXXOPTS: -std=c++14 12 runs-on: ubuntu-latest 15 - uses: actions/checkout@v3 17 fetch-depth: 0 19 - name: Tests 20 run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... 23 runs-on: macos-latest 26 - uses: actions/checkout@v3 28 fetch-depth: 0 30 - name: Tests [all …]
|
| /external/googletest/.github/workflows/ |
| D | gtest-ci.yml | 8 BAZEL_CXXOPTS: -std=c++14 12 runs-on: ubuntu-latest 15 - uses: actions/checkout@v3 17 fetch-depth: 0 19 - name: Tests 20 run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ... 23 runs-on: macos-latest 26 - uses: actions/checkout@v3 28 fetch-depth: 0 30 - name: Tests [all …]
|
| /external/tensorflow/tensorflow/lite/kernels/internal/ |
| D | log_quantized_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 40 double scale = static_cast<double>(max_val + 1 - min_val) / engine_.max(); in RandomIntVector() 59 static_cast<double>(input_val) * 0.5 / (1 << (30 - input_integer_bits))); in LogPositiveValuesViaFloat() 65 (1 << (31 - output_integer_bits))); in LogPositiveValuesViaFloat() 70 void CheckOutputData(const std::vector<int32>& test_output, in CheckOutputData() argument 80 const int n = test_output.size(); in CheckOutputData() 83 // Adjust tolerance when input <= 5*2^-(31-input_integer_bits). in CheckOutputData() 89 (1 << (31 - output_integer_bits))))); in CheckOutputData() 90 ASSERT_LE(std::abs(test_output[i] - reference_output[i]), in CheckOutputData() 94 << static_cast<double>(test_input[i]) / (1 << (31 - input_integer_bits)) in CheckOutputData() [all …]
|
| /external/bazel-skylib/tests/ |
| D | unittest_test.sh | 9 # http://www.apache.org/licenses/LICENSE-2.0 20 # analysis-phase tests written with unittest.bzl appropriately 23 # --- begin runfiles.bash initialization --- 24 set -euo pipefail 25 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then 26 if [[ -f "$0.runfiles_manifest" ]]; then 28 elif [[ -f "$0.runfiles/MANIFEST" ]]; then 30 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 34 if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 36 elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then [all …]
|
| /external/pigweed/pw_arduino_build/py/pw_arduino_build/ |
| D | unit_test_runner.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 43 # than the user-configurable timeout as there's a delay while the device is 68 """Parses command-line arguments.""" 75 '--port', 79 '--baud', 86 '--test-timeout', 93 '--verbose', 94 '-v', 101 '--flash-only', 109 "-c", "--config-file", required=True, help="Path to a config file." [all …]
|