| /third_party/openssl/util/perl/OpenSSL/ |
| D | Test.pm | 1 # Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved. 8 package OpenSSL::Test; 13 use Test::More 0.96; 19 @EXPORT = (@Test::More::EXPORT, qw(setup run indir cmd app fuzz test 21 @EXPORT_OK = (@Test::More::EXPORT_OK, qw(bldtop_dir bldtop_file 31 OpenSSL::Test - a private extension of Test::More 35 use OpenSSL::Test; 37 setup("my_test_name"); 44 ok(run(test(["sometest", "arg1"], stdout => "foo.txt")), 50 This module is a private extension of L<Test::More> for testing OpenSSL. [all …]
|
| /third_party/rust/rust/src/tools/miri/cargo-miri/src/ |
| D | phases.rs | 1 //! Implements the various phases of `cargo miri run/test`. 3 use std::env; 11 use crate::{setup::*, util::*}; 16 cargo miri [subcommand] [<cargo options>...] [--] [<program/test suite options>...] 20 test, t Run tests 21 nextest Run tests with nextest (requires cargo-nextest installed) 22 …setup Only perform automatic setup, but without asking questions (for getting a… 24 The cargo options are exactly the same as for `cargo run` and `cargo test`, respectively. 28 cargo miri test -- test-suite-filter 30 cargo miri setup --print sysroot [all …]
|
| D | main.rs | 8 mod setup; module 10 use std::{env, iter}; 15 // Rustc does not support non-UTF-8 arguments so we make no attempt either. in main() 16 // (We do support non-UTF-8 environment variables though.) in main() 17 let mut args = std::env::args(); in main() 21 // Dispatch to `cargo-miri` phase. Here is a rough idea of "who calls who". in main() 23 // Initially, we are invoked as `cargo-miri miri run/test`. We first run the setup phase: in main() 24 …// - We use `rustc-build-sysroot`, and set `RUSTC` back to us, together with `MIRI_CALLED_FROM_SET… in main() 25 … // so that the sysroot build rustc invocations end up in `phase_rustc` with `RustcPhase::Setup`. in main() 28 // Then we call `cargo run/test`, exactly forwarding all user flags, plus some configuration so in main() [all …]
|
| /third_party/googletest/googletest/test/ |
| D | gtest_environment_test.cc | 31 // Tests using global test environments. 37 #include "src/gtest-internal-inl.h" 43 // For testing using global test environments. 48 // Depending on the value of failure_in_set_up_, SetUp() will 49 // generate a non-fatal failure, generate a fatal failure, or 51 void SetUp() override { in SetUp() function in __anoncd6c16790111::MyEnvironment 56 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp() 59 FAIL() << "Expected fatal failure in global set-up."; in SetUp() 66 // Generates a non-fatal failure. 69 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown() [all …]
|
| D | googletest-catch-exceptions-test.py | 1 #!/usr/bin/env python 31 """Tests Google Test's exception catching behavior. 33 This script invokes googletest-catch-exceptions-test_ and 34 googletest-catch-exceptions-ex-test_ (programs written with 35 Google Test) and verifies their output. 38 from googletest.test import gtest_test_utils 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 [all …]
|
| /third_party/mksh/ |
| D | check.pl | 3 #- 10 # is granted to deal in this work without restriction, including un- 22 #- 23 # Example test: 24 # name: a-test 26 # a test to show how tests are done 27 # arguments: !-x!-f! 29 # echo -n * 31 # expected-stdout: ! 33 # expected-stderr: [all …]
|
| /third_party/mesa3d/.gitlab-ci/lava/utils/ |
| D | ssh_job_definition.py | 8 containers as a test alongside the DUT one, to be able to create an SSH server 11 via SSH pseudo terminal, instead of relying in the error-prone UART. 13 In more detail, we aim to use "export -p" to share the initial boot environment 14 with SSH LAVA test-cases. 15 The "init-stage1.sh" script handles tasks such as system mounting and network 16 setup, which are necessary for allocating a pseudo-terminal under "/dev/pts". 24 2. [DUT] Running the "init-stage1.sh" script for the first SSH test case. 25 3. [DUT] Export the first boot environment to `/dut-env-vars.sh` file. 26 4. [SSH] Enabling the pseudo-terminal for colors and running the "init-stage2.sh" 27 script after sourcing "dut-env-vars.sh" again for the second SSH test case. [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/fork/ |
| D | fork04.c | 21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 33 * OS Test - Silicon Graphics, Inc. 34 * TEST IDENTIFIER : fork04 35 * TEST TITLE : Child inheritance of Environment Variables after fork() 37 * TEST CASE TOTAL : 3 41 * CO-PILOT : Steve Shaw 45 * TEST CASES 46 * Test these environment variables correctly inherited by child: 56 * Terminates - with frequency and infinite modes. 59 * Uses SIGUSR1 to pause before test if option set. [all …]
|
| /third_party/mesa3d/.gitlab-ci/tests/data/ |
| D | UBOOT_force_uart=False_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 13 depthcharge-retry: 15 depthcharge-start: 17 depthcharge-action: 19 uboot-action: 22 - deploy: 38 - boot: 40 method: u-boot 42 - 'lava-shell:' [all …]
|
| D | FASTBOOT_force_uart=False_job_definition.yaml | 1 job_name: 'test-project: my_pipeline_info' 5 - my_visibility_group 13 depthcharge-retry: 15 depthcharge-start: 17 depthcharge-action: 19 uboot-action: 22 - deploy: 32 - deploy: 44 image: registry.gitlab.collabora.com/lava/health-check-docker 46 - cat Image.gz my_dtb_filename.dtb > Image.gz+dtb [all …]
|
| /third_party/littlefs/.github/workflows/ |
| D | test.yml | 1 name: test 4 env: 5 CFLAGS: -Werror 6 MAKEFLAGS: -j 10 test: 11 runs-on: ubuntu-18.04 13 fail-fast: false 18 - uses: actions/checkout@v2 19 - name: install 22 sudo apt-get update -qq [all …]
|
| /third_party/skia/third_party/externals/expat/expat/tests/ |
| D | minicheck.c | 1 /* Miniature re-implementation of the "check" library. 13 Copyright (c) 2004-2006 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> 14 Copyright (c) 2016-2020 Sebastian Pipping <sebastian@pipping.org> 16 Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it> 53 suite->name = name; in suite_create() 62 tc->name = name; in tcase_create() 71 assert(tc->next_tcase == NULL); in suite_add_tcase() 73 tc->next_tcase = suite->tests; in suite_add_tcase() 74 suite->tests = tc; in suite_add_tcase() 78 tcase_add_checked_fixture(TCase *tc, tcase_setup_function setup, in tcase_add_checked_fixture() argument [all …]
|
| /third_party/mesa3d/.gitlab-ci/ |
| D | crosvm-runner.sh | 1 #!/usr/bin/env bash 4 set -ue 11 if [ -n "${PARALLELISE_VIA_LP_THREADS:-}" ]; then 12 export LP_NUM_THREADS="${FDO_CI_CONCURRENT:-4}" 16 # If run outside of a deqp-runner invoction (e.g. piglit trace replay), then act 18 THREAD=${DEQP_RUNNER_THREAD:-0} 21 # Helper to generate CIDs for virtio-vsock based communication with processes 24 # A CID is a 32-bit Context Identifier to be assigned to a crosvm instance 26 # the least significant 25 bits from CI_JOB_ID as a base and generate a 7-bit 30 # - VSOCK_CID: the crosvm unique CID to be passed as a run argument [all …]
|
| D | prepare-artifacts-python.sh | 1 #!/usr/bin/env bash 6 . "${SCRIPTS_DIR}/setup-test-env.sh" 8 section_switch prepare-artifacts "artifacts: prepare" 10 set -e 11 set -o xtrace 13 mkdir -p artifacts/ 15 # Test runs don't pull down the git tree, so put the dEQP helper 17 echo "$(cat VERSION) (git-$(git rev-parse HEAD | cut -b -10))" > artifacts/VERSION 18 cp -Rp .gitlab-ci/report-flakes.py artifacts/ 19 cp -Rp .gitlab-ci/setup-test-env.sh artifacts/ [all …]
|
| /third_party/skia/m133/third_party/externals/expat/expat/tests/ |
| D | minicheck.c | 1 /* Miniature re-implementation of the "check" library. 13 Copyright (c) 2004-2006 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> 14 Copyright (c) 2016-2023 Sebastian Pipping <sebastian@pipping.org> 16 Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it> 18 Copyright (c) 2023-2024 Sony Corporation / Snild Dolkow <snild@sony.com> 42 # undef NDEBUG /* because test suite relies on assert(...) at the moment */ 59 suite->name = name; in suite_create() 68 tc->name = name; in tcase_create() 77 assert(tc->next_tcase == NULL); in suite_add_tcase() 79 tc->next_tcase = suite->tests; in suite_add_tcase() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/softpipe/ci/ |
| D | gitlab-ci.yml | 2 - local: 'src/gallium/drivers/softpipe/ci/gitlab-ci-inc.yml' 7 XVFB_SCRIPT: "install/deqp-runner.sh" 9 extends: .softpipe-deqp-test 11 . "$SCRIPTS_DIR"/setup-test-env.sh 14 …xvfb-run -e results/xvfb.log --server-args='-noreset' bash -c ". $SCRIPTS_DIR/setup-test-env.sh &&… 16 softpipe-asan-gles31: 18 DEQP_SUITE: softpipe-asan 19 GPU_VERSION: softpipe-asan 22 extends: .softpipe-deqp-test 24 - debian/x86_64_test-gl [all …]
|
| /third_party/rust/rust/src/tools/clippy/.github/workflows/ |
| D | clippy_bors.yml | 1 name: Clippy Test (bors) 6 - auto 7 - try 9 env: 21 runs-on: ubuntu-latest 24 - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master 28 - name: Checkout 34 - name: Check Changelog 36 MESSAGE=$(git log --format=%B -n 1) 37 PR=$(echo "$MESSAGE" | grep -o "#[0-9]*" | head -1 | sed -e 's/^#//') [all …]
|
| /third_party/skia/third_party/externals/freetype/ |
| D | .gitlab-ci.yml | 2 - build 4 # FIXME: Use --werror once warnings are fixed. 6 MESON_ARGS: --fatal-meson-warnings 7 MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for=zlib 11 # https://gitlab.freedesktop.org/gstreamer/gst-ci/container_registry/213 12 image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:v14-master' 15 - 'docker' 16 - 'windows' 17 - '1809' 18 - 'gstreamer-windows' [all …]
|
| /third_party/PyYAML/.github/workflows/ |
| D | ci.yaml | 1 --- 14 env: 21 runs-on: ubuntu-latest 23 - name: Checkout PyYAML 26 - name: Install a python 27 uses: actions/setup-python@v2 29 python-version: 3.x 31 - name: Build sdist 32 env: 36 python -V [all …]
|
| D | manual_artifact_build.yaml | 1 --- 12 env: 19 runs-on: ubuntu-latest 21 - name: Checkout PyYAML 24 - name: Install a python 25 uses: actions/setup-python@v2 27 python-version: 3.x 29 - name: Build sdist 30 env: 34 python -V [all …]
|
| /third_party/skia/infra/bots/recipes/test_pathkit.expected/ |
| D | Test-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Debug-All-PathKit.json | 4 "name": "Docker setup" 9 "-u", 12 "name": "Docker setup.Get uid and gid", 23 "-u", 25 "--json-output", 27 "ensure-directory", 28 "--mode", 33 "name": "Docker setup.mkdirs out_dir", 45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]", 57 "name": "Docker setup.chmod 755 [START_DIR]", [all …]
|
| D | Test-Debian10-EMCC-GCE-CPU-AVX2-asmjs-Release-All-PathKit.json | 4 "name": "Docker setup" 9 "-u", 12 "name": "Docker setup.Get uid and gid", 23 "-u", 25 "--json-output", 27 "ensure-directory", 28 "--mode", 33 "name": "Docker setup.mkdirs out_dir", 45 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]", 57 "name": "Docker setup.chmod 755 [START_DIR]", [all …]
|
| /third_party/openssl/test/recipes/ |
| D | 30-test_defltfips.t | 1 #! /usr/bin/env perl 2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. 13 use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_file bldtop_dir data_dir/; 14 use OpenSSL::Test::Utils; 18 setup("test_defltfips"); 24 my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); 30 $ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "fips.cnf")); 31 ok(run(test(["defltfips_test", "fips"])), "running defltfips_test fips"); 33 #Test an alternative way of configuring fips 34 $ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "fips-alt.cnf")); [all …]
|
| /third_party/rust/rust/library/portable-simd/.github/workflows/ |
| D | ci.yml | 7 - master 9 env: 16 runs-on: ubuntu-latest 19 - uses: actions/checkout@v2 20 - name: Setup Rust 22 rustup update nightly --no-self-update 25 - name: Run rustfmt 26 run: cargo fmt --all -- --check 30 runs-on: ubuntu-latest 32 fail-fast: false [all …]
|
| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ci/ |
| D | gitlab-ci.yml | 2 - local: 'src/gallium/drivers/llvmpipe/ci/gitlab-ci-inc.yml' 4 llvmpipe-piglit-rusticl: 6 - .llvmpipe-piglit-cl 7 - .llvmpipe-rusticl-rules 9 - debian-testing 10 - debian/x86_64_test-gl 12 DEQP_SUITE: llvmpipe-rusticl 13 GPU_VERSION: llvmpipe-rusticl 15 llvmpipe-traces: 17 - .test-gl [all …]
|