Home
last modified time | relevance | path

Searched +full:generate +full:- +full:env (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/third_party/googletest/googletest/test/
Dgtest_environment_test.cc36 #include "src/gtest-internal-inl.h"
54 // generate a non-fatal failure, generate a fatal failure, or
61 ADD_FAILURE() << "Expected non-fatal failure in global set-up."; in SetUp()
64 FAIL() << "Expected fatal failure in global set-up."; in SetUp()
71 // Generates a non-fatal failure.
74 ADD_FAILURE() << "Expected non-fatal failure in global tear-down."; in TearDown()
85 // generate.
122 // be generated by the global set-up.
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests() argument
124 env->Reset(); in RunAllTests()
[all …]
/third_party/openssl/test/recipes/
D20-test_cli_fips.t1 #! /usr/bin/env perl
2 # Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
26 my $no_check = disabled("fips") || disabled('fips-securitychecks');
31 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
32 my $fipsconf = srctop_file("test", "fips-and-base.cnf");
37 $ENV{OPENSSL_CONF} = $fipsconf;
39 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])),
41 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])),
43 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])),
45 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])),
[all …]
D80-test_ca.t1 #! /usr/bin/env perl
2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
21 $ENV{OPENSSL} = cmdstr(app(["openssl"]), display => 1);
23 my $cnf = srctop_file("test","ca-and-certs.cnf");
25 . srctop_file("apps", $^O eq "VMS" ? "openssl-vms.cnf" : "openssl.cnf")
32 my $cakey = srctop_file("test", "certs", "ca-key.pem");
33 $ENV{OPENSSL_CONFIG} = qq(-config "$cnf");
35 if !ok(run(perlapp(["CA.pl","-newca",
36 "-extra-req", "-key $cakey"], stdin => undef)),
39 my $eekey = srctop_file("test", "certs", "ee-key.pem");
[all …]
D20-test_dhparam.t1 #! /usr/bin/env perl
2 # Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
24 my $fipsconf = srctop_file("test", "fips-and-base.cnf");
37 if (-T $file) {
42 if ($firstline eq "-----BEGIN DH PARAMETERS-----") {
44 } elsif ($firstline eq "-----BEGIN X9.42 DH PARAMETERS-----") {
60 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout',
61 '-text', '-inform', $format]), capture => 1);
92 checkdhparams(data_file("pkcs3-2-1024.pem"), "PKCS3", 2, "PEM", 1024);
96 checkdhparams(data_file("pkcs3-5-1024.pem"), "PKCS3", 5, "PEM", 1024);
[all …]
D15-test_gendsa.t1 #! /usr/bin/env perl
2 # Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
24 plan skip_all => "This test is unsupported in a no-dsa build"
27 my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
33 ok(run(app([ 'openssl', 'genpkey', '-genparam',
34 '-algorithm', 'DSA',
35 '-pkeyopt', 'gindex:1',
36 '-pkeyopt', 'type:fips186_4',
37 '-text'])),
40 ok(run(app([ 'openssl', 'genpkey', '-genparam',
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/
Dbuild.xml2 <!ENTITY icu-config SYSTEM "./icu-config.xml">
3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml">
4 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml">
5 <!ENTITY icu-rbnf-deprecates SYSTEM "./icu-rbnf-deprecates.xml">
7 <!--
12 * Copyright (C) 2005-2015, International Business Machines Corporation and *
16 -->
17 <project name="icu-build" default="all" basedir=".">
21 <!-- Load environment variables -->
22 <property environment="env"/>
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dtests.rs9 use std::env;
18 #[path = "../../bindgen-cli/options.rs"]
25 fn rustfmt(source: String) -> (String, String) { in rustfmt()
29 if env::var_os("RUSTFMT").is_some() { in rustfmt()
35 p.args(["run", "nightly", "rustfmt", "--version"]); in rustfmt()
53 $ rustup component add rustfmt --toolchain nightly in rustfmt()
59 let mut child = match env::var_os("RUSTFMT") { in rustfmt()
70 "--config-path", in rustfmt()
71 concat!(env!("CARGO_MANIFEST_DIR"), "/tests/rustfmt.toml"), in rustfmt()
99 // Ignore actual rustfmt status because it is often non-zero for trivial in rustfmt()
[all …]
/third_party/node/deps/npm/test/tap/
Drun-script.js1 var fs = require('graceful-fs')
8 var common = require('../common-tap')
20 'start': 'node -e "console.log(process.argv[1] || \'start\')"',
21 'prewith-pre': 'node -e "console.log(process.argv[1] || \'pre\')"',
22 'with-pre': 'node -e "console.log(process.argv[1] || \'main\')"',
23 'with-post': 'node -e "console.log(process.argv[1] || \'main\')"',
24 'postwith-post': 'node -e "console.log(process.argv[1] || \'post\')"',
25 'prewith-both': 'node -e "console.log(process.argv[1] || \'pre\')"',
26 'with-both': 'node -e "console.log(process.argv[1] || \'main\')"',
27 'postwith-both': 'node -e "console.log(process.argv[1] || \'post\')"',
[all …]
/third_party/ltp/testcases/open_posix_testsuite/
DMakefile1 # SPDX-License-Identifier: GPL-2.0-or-later
13 MAKE_ENV= LOGFILE=`if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`…
20 BUILD_MAKE= env $(BUILD_MAKE_ENV) $(MAKE)
22 TEST_MAKE= env $(TEST_MAKE_ENV) $(MAKE) -k
32 all: conformance-all functional-all stress-all tools-all
34 ifeq ($(shell uname -s), Linux)
39 @rm -f $(LOGFILE)*
41 $(MAKE) -C $$dir clean >/dev/null; \
44 distclean: distclean-makefiles
47 distclean-makefiles:
[all …]
/third_party/rust/crates/bindgen/book/src/
Dtutorial-3.md4 This can be used to generate code at compile time.
8 like `./target/debug/build/bindgen-tutorial-bzip2-sys-afc7747d7eafd720/out/`.
15 use std::env;
20 println!("cargo:rustc-link-search=/path/to/lib");
24 println!("cargo:rustc-link-lib=bz2");
27 println!("cargo:rerun-if-changed=wrapper.h");
33 // The input header we would like to generate
39 // Finish the builder and generate the bindings.
40 .generate()
42 .expect("Unable to generate bindings");
[all …]
Dnon-system-libraries.md1 Now let's suppose we want to generate bindings for a non-system library. We
21 use std::env;
29 // Canonicalize the path as `rustc-link-search` requires an absolute
44 println!("cargo:rustc-link-search={}", libdir_path.to_str().unwrap());
48 println!("cargo:rustc-link-lib=hello");
51 println!("cargo:rerun-if-changed={}", headers_path_str);
56 .arg("-c")
57 .arg("-o")
69 // Run `ar` to generate the `libhello.a` file from the `hello.o` file.
88 // The input header we would like to generate
[all …]
/third_party/flatbuffers/
D.travis.yml1 env:
3 # Set at the root level as this is ignored when set under matrix.env.
4 - GCC_VERSION="4.9"
6 - UBSAN_OPTIONS=halt_on_error=1
7 - ASAN_OPTIONS=halt_on_error=1
9 - JOBS=2
10 - MAKEFLAGS="-j 2"
12 conan-linux: &conan-linux
18 - docker
20 - ./conan/travis/install.sh
[all …]
/third_party/mesa3d/.gitlab-ci/
Dcrosvm-runner.sh3 set -e
5 # If run outside of a deqp-runner invoction (e.g. piglit trace replay), then act
7 THREAD=${DEQP_RUNNER_THREAD:-0}
10 # Helper to generate CIDs for virtio-vsock based communication with processes
13 # A CID is a 32-bit Context Identifier to be assigned to a crosvm instance
15 # the least significant 25 bits from CI_JOB_ID as a base and generate a 7-bit
19 # - VSOCK_CID: the crosvm unique CID to be passed as a run argument
21 # - VSOCK_STDOUT, VSOCK_STDERR: the port numbers the guest should accept
24 # - VM_TEMP_DIR: the temporary directory path used to pass additional
28 [ -n "${CI_JOB_ID}" ] || {
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dwin_tool.py1 #!/usr/bin/env python
4 # Use of this source code is governed by a BSD-style license that can be
9 These functions are executed via gyp-win-tool when using the ninja generator.
40 def _UseSeparateMspdbsrv(self, env, args): argument
49 # Use the output filename passed to the linker to generate an endpoint name
65 env['_MSPDBSRV_ENDPOINT_'] = endpoint_name
76 """Transforms a tool name like recursive-mirror to RecursiveMirror."""
77 return name_string.title().replace('-', '')
84 pairs = open(arch).read()[:-2].split('\0')
93 """Emulation of rm -rf out && cp -af in out."""
[all …]
/third_party/rust/crates/clap/.github/workflows/
Dpost-release.yml1 name: post-release
5 - "v*"
10 create-release:
12 contents: write # for actions/create-release to create a release
13 name: create-release
14 runs-on: ubuntu-latest
17 release_version: ${{ env.RELEASE_VERSION }}
19 - name: Get the release version from the tag
21 if: env.RELEASE_VERSION == ''
23 …# See: https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight…
[all …]
/third_party/node/tools/gyp/pylib/gyp/
Dwin_tool.py1 #!/usr/bin/env python
4 # Use of this source code is governed by a BSD-style license that can be
9 These functions are executed via gyp-win-tool when using the ninja generator.
41 def _UseSeparateMspdbsrv(self, env, args): argument
50 # Use the output filename passed to the linker to generate an endpoint name
67 env["_MSPDBSRV_ENDPOINT_"] = endpoint_name
78 """Transforms a tool name like recursive-mirror to RecursiveMirror."""
79 return name_string.title().replace("-", "")
86 pairs = open(arch).read()[:-2].split("\0")
95 """Emulation of rm -rf out && cp -af in out."""
[all …]
/third_party/rust/crates/libc/ci/docker/asmjs-unknown-emscripten/
DDockerfile4 ENV DEBIAN_FRONTEND=noninteractive
5 ENV TZ=America/New_York
7 RUN apt-get update
8 RUN apt-get install -y --no-install-recommends tzdata
9 RUN apt-get install -y --no-install-recommends \
10 ca-certificates \
14 libc6-dev \
17 python3-distutils \
18 xz-utils \
24 ENV PATH=$PATH:/rust/bin \
[all …]
/third_party/mesa3d/.gitlab-ci/bare-metal/
Drootfs-setup.sh5 mkdir -p $rootfs_dst/results
8 cp $BM/bm-init.sh $rootfs_dst/init
11 # Make JWT token available as file in the bare-metal storage to enable access
15 cp $CI_COMMON/capture-devcoredump.sh $rootfs_dst/
16 cp $CI_COMMON/intel-gpu-freq.sh $rootfs_dst/
20 # Pass through relevant env vars from the gitlab job to the baremetal init script
21 "$CI_COMMON"/generate-env.sh > $rootfs_dst/set-job-env-vars.sh
22 chmod +x $rootfs_dst/set-job-env-vars.sh
24 cat $rootfs_dst/set-job-env-vars.sh
26 set -x
[all …]
/third_party/libwebsockets/lib/
DCMakeLists.txt2 # libwebsockets - small server side websockets and web server implementation
4 # Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com>
41 include_directories($ENV{IDF_PATH}/components/freertos/include
42 $ENV{IDF_PATH}/components/esp_hw_support/include/soc/
43 $ENV{IDF_PATH}/components/esp_common/include
44 $ENV{IDF_PATH}/components/esp_timer/include
45 $ENV{IDF_PATH}/components/soc/include
46 $ENV{IDF_PATH}/components/soc/src/esp32/include
47 $ENV{IDF_PATH}/components/lwip/port/esp32/include
48 $ENV{IDF_PATH}/components/lwip/lwip/src/include
[all …]
/third_party/rust/crates/bindgen/bindgen-integration/
Dbuild.rs9 use std::env;
21 fn will_parse_macro(&self, name: &str) -> MacroParsingBehavior { in will_parse_macro()
31 fn int_macro(&self, name: &str, _value: i64) -> Option<IntKind> { in int_macro()
51 // The integer test macro is, actually, not expected to show up here at all -- but in str_macro()
66 panic!("func_macro was called for a non-functional macro"); in func_macro()
69 // Spaces are inserted into the right-hand side of a functional in func_macro()
74 assert_eq!(value, &[b"-" as &[u8], b"TESTMACRO_INTEGER"]); in func_macro()
107 fn item_name(&self, original_item_name: &str) -> Option<String> { in item_name()
126 fn add_derives(&self, info: &DeriveInfo<'_>) -> Vec<String> { in add_derives()
161 let out_path = PathBuf::from(env::var("OUT_DIR").unwrap()); in setup_macro_test()
[all …]
/third_party/node/deps/npm/node_modules/env-paths/
Dreadme.md1 # env-paths [![Build Status](https://travis-ci.org/sindresorhus/env-paths.svg?branch=master)](https…
5 Uses the correct OS-specific paths. Most developers get this wrong.
11 $ npm install env-paths
18 const envPaths = require('env-paths');
23 //=> '/home/sindresorhus/.local/share/MyApp-nodejs'
26 //=> '/home/sindresorhus/.config/MyApp-nodejs'
38 Name of your project. Used to generate the paths.
63 Directory for non-essential data files.
/third_party/rust/crates/bindgen/bindgen-cli/
Dmain.rs8 use std::env;
39 match builder_from_flags(env::args()) { in main()
52 builder.generate().expect("Unable to generate bindings"); in main()
68 "This may be caused by one of the known-unsupported \ in print_verbose_err()
69 things (https://rust-lang.github.io/rust-bindgen/cpp.html), \ in print_verbose_err()
71 described in https://rust-lang.github.io/rust-bindgen/cpp.html" in print_verbose_err()
75 https://github.com/rust-lang/rust-bindgen/issues/new" in print_verbose_err()
/third_party/libsnd/tests/
Dgenerate.c2 ** Copyright (C) 2007-2012 Erik de Castro Lopo <erikd@mega-nerd.com>
16 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 #include "generate.h"
54 { return rand () / (0.5 * RAND_MAX) - 1.0 ; in rand_float()
60 float env = 0.0 ; in crappy_snare() local
62 for (k = offset ; k < len && env < gain ; k++) in crappy_snare()
63 { env += 0.03 ; in crappy_snare()
64 output [k] += env * rand_float () ; in crappy_snare()
68 for ( ; k < len && env > 1e-8 ; k++) in crappy_snare()
69 { env *= 0.995 ; in crappy_snare()
[all …]
/third_party/flutter/skia/infra/bots/recipes/check_generated_files.expected/
DHousekeeper-PerCommit-CheckGeneratedFiles.json5 "-u",
7 "--json-output",
9 "ensure-directory",
10 "--mode",
20 "-u",
22 "--json-output",
33 "-u",
35 "--spec-path",
37 "--patch_root",
39 "--revision_mapping_file",
[all …]
/third_party/protobuf/
Dcc_proto_blacklist_test.bzl1 """Contains a unittest to verify that `cc_proto_library` does not generate code for blacklisted `.p…
6 """Verifies that there are no C++ compile actions for Well-Known-Protos.
14 env = unittest.begin(ctx)
19 env,
28 return unittest.end(env)

12345678910>>...30