/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']) 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/rust/crates/grpcio-sys/grpc/third_party/upb/kokoro/ubuntu/ |
D | build.sh | 3 set -ex 6 if [ -x "$(command -v use_bazel.sh)" ]; then 12 ls -l `which cmake` 13 cmake --version 22 gcc --version 23 CC=gcc bazel test -c opt --test_output=errors ... -- -benchmarks:benchmark 25 CC=gcc bazel test --test_output=errors ... 26 …CC=gcc bazel test --test_output=errors ... --//:fasttable_enabled=true -- -cmake:test_generated_fi… 29 # if gcc -fanalyzer -x c /dev/null -c -o /dev/null; then 30 # CC=gcc bazel test --copt=-fanalyzer --test_output=errors ... [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/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/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: 48 _TARGET_QEMU_COMMAND, '-cpu', 'cortex-m3', '-machine', 'lm3s6965evb', [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.""" 29 # Path used to access non-python resources in this python module. 50 # than the user-configurable timeout as there's a delay while the device is 64 """Parses command-line arguments.""" 68 parser.add_argument('--openocd-config', 71 parser.add_argument('--stlink-serial', 75 parser.add_argument('--port', 79 parser.add_argument('--baud', 84 parser.add_argument('--test-timeout', [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/diff_test/ |
D | diff_test_tests.sh | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 # --- begin runfiles.bash initialization --- 16 # Copy-pasted from Bazel's Bash runfiles library (tools/bash/runfiles/runfiles.bash). 17 set -euo pipefail 18 if [[ ! -d "${RUNFILES_DIR:-/dev/null}" && ! -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then 19 if [[ -f "$0.runfiles_manifest" ]]; then 21 elif [[ -f "$0.runfiles/MANIFEST" ]]; then 23 elif [[ -f "$0.runfiles/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 27 if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then 29 elif [[ -f "${RUNFILES_MANIFEST_FILE:-/dev/null}" ]]; then [all …]
|
/external/ltp/pan/ |
D | scan.l | 22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 47 * start-up state, inbetween tests 52 * test_start to test_output or test_end, 56 * test_output to execution_status. 73 SYM ctag=NULL; /* temporary - for storing current tag's info */ 75 SYM k; /* temporary sym pointer -- for key removal */ 77 static int test_output( SYM, SYM); 91 %option nolex-compat 95 UI [0-9]+ 96 A [a-zA-Z]+ [all …]
|
/external/pigweed/pw_arduino_build/py/pw_arduino_build/ |
D | unit_test_runner.py | 8 # https://www.apache.org/licenses/LICENSE-2.0 44 # than the user-configurable timeout as there's a delay while the device is 69 """Parses command-line arguments.""" 75 parser.add_argument('--port', 78 parser.add_argument('--baud', 83 parser.add_argument('--test-timeout', 88 parser.add_argument('--verbose', 89 '-v', 94 parser.add_argument('--flash-only', 100 parser.add_argument("-c", [all …]
|
/external/ltp/lib/newlib_tests/shell/ |
D | test_timeout.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de> 27 timeout02.sh| -10|0| |2 28 timeout02.sh| -0.1|0| |0 29 timeout02.sh| -1.1|0| |2 30 timeout02.sh|-10.1|0| |2 38 # - test: The test to execute 39 # - timeout: The timeout multiplicator (optional) 40 # - use_cat: Pipe the output of the command through cat (optional) 44 # - test_exit: The exit code of the test [all …]
|
/external/toolchain-utils/llvm_tools/ |
D | update_packages_and_run_tests.py | 2 # -*- coding: utf-8 -*- 4 # Use of this source code is governed by a BSD-style license that can be 22 VALID_CQ_TRYBOTS = ['llvm', 'llvm-next', 'llvm-tot'] 39 # Create parser and add optional command-line arguments. 46 '--extra_change_lists', 54 parser.add_argument('--chroot_path', 58 # Add argument to choose between llvm and llvm-next. 60 '--is_llvm_next', 68 '--last_tested', 73 parser.add_argument('--llvm_version', [all …]
|
/external/tinyalsa_new/ |
D | README.md | 4 [](https://travis-ci.org/… 10 - Provide a basic pcm and mixer API. 11 - If it's not absolutely needed, don't add it to the API. 12 - Avoid supporting complex and unnecessary operations, that could be 14 - Provide comprehensive documentation. 20 - [CMake](https://en.wikipedia.org/wiki/CMake) 21 - [Make](https://en.wikipedia.org/wiki/Make_(software)) 22 - [Meson](https://en.wikipedia.org/wiki/Meson_(software)) 23 …- [Soong](https://android.googlesource.com/platform/build/soong/+/refs/heads/master/README.md) for… 39 |-----------------|-----------------------------------------------------| [all …]
|
/external/autotest/client/deps/fakegudev/src/ |
D | test-gudev.sh | 4 # Use of this source code is governed by a BSD-style license that can be 13 function test_output() { function 14 diff -u --ignore-all-space --ignore-blank-lines ${expected_output} \ 16 if [ $? -ne 0 ] 24 if [ $# -eq 1 ] 30 LD_PRELOAD=./libfakegudev.so ./gudev-exercise $1 > ${actual_output} 31 test_output 37 if [ $# -eq 2 ] 44 ./gudev-exercise /dev/null > ${null_output} 128 LD_PRELOAD=./libfakegudev.so ./gudev-exercise /dev/fake /dev/fake /dev/fake > \ [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/kokoro/ |
D | bazel.sh | 2 set -eux 7 */windows-*) 8 choco upgrade bazel -y -i 19 bazel build --compilation_mode=dbg -- //:all 20 bazel test --compilation_mode=dbg --test_output=errors -- //:all \ 21 -//:dfa_test \ 22 -//:exhaustive1_test \ 23 -//:exhaustive2_test \ 24 -//:exhaustive3_test \ 25 -//:exhaustive_test \ [all …]
|
/external/googletest/ci/ |
D | linux-presubmit.sh | 32 set -euox pipefail 34 readonly LINUX_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20201008" 35 readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20201015" 37 if [[ -z ${GTEST_ROOT:-} ]]; then 41 if [[ -z ${STD:-} ]]; then 49 --volume="${GTEST_ROOT}:/src:ro" \ 50 --tmpfs="/build:exec" \ 51 --workdir="/build" \ 52 --rm \ 53 --env="CC=${cc}" \ [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/linux/ |
D | grpc_python_bazel_test_in_docker.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 19 set -ex -o igncr || set -ex 21 mkdir -p /var/local/git 24 && git submodule update --init --reference /var/local/jenkins/grpc/${name} \ 28 BAZEL_FLAGS="--test_output=errors" 30 bazel test --config=python_single_threaded_unary_stream ${BAZEL_FLAGS} ${TEST_TARGETS} 31 bazel test --config=python_poller_engine ${BAZEL_FLAGS} ${TEST_TARGETS} 37 bazel test --test_output=errors //...
|
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/ |
D | grpc_run_bazel_isolated_tests.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 25 tools/bazel test $RUN_TESTS_FLAGS --genrule_strategy=local --test_output=all --copt="-DGRPC_CFSTREA… 27 # Missing the /var/db/ntp-kod file may breaks the ntp synchronization. 29 # TODO(yulin-liang): investigate how to run time_jump_test without needing to mess with the system … 31 sudo touch /var/db/ntp-kod 32 sudo chown root:wheel /var/db/ntp-kod 35 sudo sntp -sS pool.ntp.org 39 tools/bazel test $RUN_TESTS_FLAGS --genrule_strategy=local --test_output=all //test/cpp/common:time… 42 ps aux | grep port_server\\.py | awk '{print $2}' | xargs kill -9
|
/external/compiler-rt/cmake/Modules/ |
D | BuiltinTests.cmake | 7 string(REGEX MATCHALL "<[A-Za-z0-9_]*>" substitutions 37 OUTPUT_VARIABLE TEST_OUTPUT 46 "${TEST_OUTPUT}\n${TEST_ERROR}\n${result}\n") 57 message(STATUS "Performing Test ${output} - Success") 59 message(STATUS "Performing Test ${output} - Failed")
|
/external/tensorflow/tensorflow/tools/ci_build/windows/cpu/bazel/ |
D | run_cc_test_windows.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 22 # - JDK8, and JAVA_HOME set. 23 # - Microsoft Visual Studio 2015 Community Edition 24 # - Msys2 25 # - Anaconda3 29 set -x 30 set -e 47 # Compiling the following test is extremely slow with -c opt 51 …y "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_cpu_cc_tests}) - ($slow… 55 bazel test -k $slow_compiling_test --test_output=errors [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_smtplib.py | 57 n -= 1 209 n -= 1 221 MSG_BEGIN = '---------- MESSAGE FOLLOWS ----------\n' 222 MSG_END = '------------ END MESSAGE ------------\n' 224 # NOTE: Some SMTP objects in the tests below are created with a non-default 249 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1), 278 test_output = self.output.getvalue() 279 return re.sub(r'(.*?)^X-Peer:\s*\S+\n(.*)', r'\1\2', 280 test_output, flags=re.MULTILINE|re.DOTALL) 345 smtp.putcmd('helo\nX-INJECTED') [all …]
|
/external/rust/crates/criterion/tests/ |
D | criterion_tests.rs | 24 fn temp_dir() -> TempDir { in temp_dir() 30 fn short_benchmark(dir: &TempDir) -> Criterion { in short_benchmark() 48 fn read(&self) -> usize { in read() 53 fn default() -> Counter { in default() 60 fn verify_file(dir: &PathBuf, path: &str) -> PathBuf { in verify_file() 98 fn latest_modified(dir: &PathBuf) -> SystemTime { in latest_modified() 147 .save_baseline("some-baseline".to_owned()) in test_save_baseline() 151 verify_stats(&dir, "some-baseline"); in test_save_baseline() 161 .save_baseline("some-baseline".to_owned()) in test_retain_baseline() 164 let pre_modified = latest_modified(&dir.path().join("test_retain_baseline/some-baseline")); in test_retain_baseline() [all …]
|
/external/tensorflow/tensorflow/tools/ci_build/windows/gpu/bazel/ |
D | run_cc_test_windows.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 22 # - JDK8, and JAVA_HOME set. 23 # - Microsoft Visual Studio 2015 Community Edition 24 # - Msys2 25 # - Anaconda3 29 set -x 30 set -e 49 # Compiling the following test is extremely slow with -c opt 53 …y "kind(cc_test, //tensorflow/cc/... + //tensorflow/core/...) - (${exclude_gpu_cc_tests}) - ($slow… 57 # TODO(pcloudy): There is a bug in Bazel preventing build with GPU support without -c opt [all …]
|