Home
last modified time | relevance | path

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

12345678910>>...34

/third_party/googletest/googletest/test/
Dgtest_environment_test.cc37 #include "src/gtest-internal-inl.h"
49 // generate a non-fatal failure, generate a fatal failure, or
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()
80 // generate.
113 // be generated by the global set-up.
114 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests() argument
115 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 …]
/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/ltp/testcases/open_posix_testsuite/
DMakefile1 # SPDX-License-Identifier: GPL-2.0-or-later
10 include include/mk/env.mk
17 MAKE_ENV= LOGFILE=`if echo "$(LOGFILE)" | grep -q '^/'; then echo "$(LOGFILE)"; else echo "\`pwd\`…
24 BUILD_MAKE= env $(BUILD_MAKE_ENV) $(MAKE)
26 TEST_MAKE= env $(TEST_MAKE_ENV) $(MAKE) -k
28 all: conformance-all functional-all stress-all tools-all
32 .PHONY: ac-clean
33 ac-clean: clean
37 $(RM) -f $(LOGFILE)*
38 $(RM) -f config.log config.status
[all …]
/third_party/node/src/crypto/
Dcrypto_random.cc2 #include "async_wrap-inl.h"
4 #include "env-inl.h"
5 #include "memory_tracker-inl.h"
6 #include "threadpoolwork-inl.h"
29 Environment* env, in EncodeOutput() argument
33 *result = v8::Undefined(env->isolate()); in EncodeOutput()
34 return Just(!result->IsEmpty()); in EncodeOutput()
43 CHECK(args[offset + 1]->IsUint32()); // Offset in AdditionalConfig()
44 CHECK(args[offset + 2]->IsUint32()); // Size in AdditionalConfig()
48 const uint32_t byte_offset = args[offset + 1].As<Uint32>()->Value(); in AdditionalConfig()
[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/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/tools/gyp/pylib/gyp/
Dwin_tool.py1 #!/usr/bin/env python3
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.
39 def _UseSeparateMspdbsrv(self, env, args): argument
48 # 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 …]
Dmsvs_emulation.py2 # Use of this source code is governed by a BSD-style license that can be
66 # quotes around it because then built-ins like 'echo', etc. won't work.
141 stdout = p.communicate()[0].decode("utf-8")
154 env = {}
158 env["$(VSInstallDir)"] = vs_version.Path()
159 env["$(VCInstallDir)"] = os.path.join(vs_version.Path(), "VC") + "\\"
161 # set. This happens when the SDK is sync'd via src-internal, rather than
162 # by typical end-user installation of the SDK. If it's not set, we don't
165 env["$(DXSDK_DIR)"] = dxsdk_dir if dxsdk_dir else ""
168 env["$(WDK_DIR)"] = os.environ.get("WDK_DIR", "")
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dwin_tool.py1 #!/usr/bin/env python3
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.
39 def _UseSeparateMspdbsrv(self, env, args): argument
48 # 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 …]
Dmsvs_emulation.py2 # Use of this source code is governed by a BSD-style license that can be
66 # quotes around it because then built-ins like 'echo', etc. won't work.
141 stdout = p.communicate()[0].decode("utf-8")
154 env = {}
158 env["$(VSInstallDir)"] = vs_version.Path()
159 env["$(VCInstallDir)"] = os.path.join(vs_version.Path(), "VC") + "\\"
161 # set. This happens when the SDK is sync'd via src-internal, rather than
162 # by typical end-user installation of the SDK. If it's not set, we don't
165 env["$(DXSDK_DIR)"] = dxsdk_dir if dxsdk_dir else ""
168 env["$(WDK_DIR)"] = os.environ.get("WDK_DIR", "")
[all …]
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/tests/
Dbindgen-up-to-date.rs1 // This is a smoke test for pre-generated `src/ittapi-bindings.rs` and
2 // `src/jitprofiling-bindings.rs` files to see that they don't need to be
19 .generate() in test_ittnotify_bindings_up_to_date()
20 .expect("Unable to generate ittnotify bindings.") in test_ittnotify_bindings_up_to_date()
23 if std::env::var("BLESS").is_ok() { in test_ittnotify_bindings_up_to_date()
34 diff::Result::Left(s) => println!("-{}", s), in test_ittnotify_bindings_up_to_date()
47 .generate() in test_jitprofiling_bindings_up_to_date()
48 .expect("Unable to generate jitprofiling bindings") in test_jitprofiling_bindings_up_to_date()
51 if std::env::var("BLESS").is_ok() { in test_jitprofiling_bindings_up_to_date()
62 diff::Result::Left(s) => println!("-{}", s), in test_jitprofiling_bindings_up_to_date()
/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/libwebsockets/lib/
DCMakeLists.txt2 # libwebsockets - small server side websockets and web server implementation
4 # Copyright (C) 2010 - 2020 Andy Green <andy@warmcat.com>
42 $ENV{IDF_PATH}/components/freertos/include
43 $ENV{IDF_PATH}/components/esp_hw_support/include/soc/
44 $ENV{IDF_PATH}/components/esp_common/include
45 $ENV{IDF_PATH}/components/esp_timer/include
46 $ENV{IDF_PATH}/components/soc/include
47 $ENV{IDF_PATH}/components/soc/src/esp32/include
48 $ENV{IDF_PATH}/components/lwip/port/esp32/include
49 $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/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/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/vixl/
DSConstruct50 # We track top-level targets to automatically generate help and alias them.
72 # Build options ----------------------------------------------------------------
79 'CCFLAGS' : ['-Wall',
80 '-Werror',
81 '-fdiagnostics-show-option',
82 '-Wextra',
83 '-Wredundant-decls',
84 '-pedantic',
85 '-Wwrite-strings',
86 '-Wunused',
[all …]
/third_party/node/deps/v8/tools/mb/
Dmb.py1 #!/usr/bin/env python
4 # Use of this source code is governed by a BSD-style license that can be
7 """MB - the Meta-Build wrapper around GN.
9 MB is a wrapper script for GN that can be used to generate build files
52 def cmp(x, y): # pylint: disable=redefined-builtin
53 return (x > y) - (x < y)
64 if builder.endswith(' - builder'):
65 builders.append(builder[:-len(' - builder')])
67 builders.append(builder[:-len(' builder')])
117 subp.add_argument('-b', '--builder',
[all …]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_differential_fuzz.js2 // Use of this source code is governed by a BSD-style license that can be
50 // Fake fuzzer being called with --input_dir flag.
88 // Don't choose any zeroed settings or IGNORE_DEFAULT_PROB in try-catch
95 const env = { variable
97 GENERATE: process.env.GENERATE, property
99 sandbox.stub(process, 'env').value(env);
113 // Apply top-level fuzzing, with all probabilistic configs switched off.
125 '--first-config=ignition',
126 '--second-config=ignition_turbo',
127 '--second-d8=d8',
[all …]
/third_party/curl/tests/http/
DREADME.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
17 platform darwin -- Python 3.9.15, pytest-6.2.0, py-1.10.0, pluggy-0.13.1
24 Pytest takes arguments. `-v` increases its verbosity and can be used several times. `-k <expr>` can…
27 curl> pytest -vv -k test_01_02
40 2. a apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this.
48 …* `--with-test-nghttpx=<path-of-nghttpx>` if you have nghttpx to use somewhere outside your `$PATH…
49 …* `--with-test-httpd=<httpd-install-path>` if you have an Apache httpd installed somewhere else. O…
56 curl> pytest -k "test_02_06 and h2"
[all …]
/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()

12345678910>>...34