Home
last modified time | relevance | path

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

12345678910>>...36

/third_party/nghttp2/third-party/
Dbuild_config.rb2 toolchain :clang if ENV['MRUBY_CC'].include? "clang"
3 toolchain :gcc if ENV['MRUBY_CC'].include? "gcc"
5 conf.cc.command = ENV['MRUBY_CC']
6 conf.cxx.command = ENV['MRUBY_CXX']
8 if ENV['MRUBY_LD']
9 conf.linker.command = ENV['MRUBY_LD']
11 if ENV['MRUBY_AR']
12 conf.archiver.command = ENV['MRUBY_AR']
19 conf.build_dir = ENV['BUILD_DIR']
22 # mruby-bin-debugger which causes the application to crash.
[all …]
/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.rs4 use std::env;
12 #[path = "../../bindgen-cli/options.rs"]
19 fn format_code<S: AsRef<str>>(source: S) -> syn::Result<String> { in format_code()
27 fn should_overwrite_expected() -> bool { in should_overwrite_expected()
28 if let Some(var) = env::var_os("BINDGEN_OVERWRITE_EXPECTED") { in should_overwrite_expected()
44 ) -> Result<(), Error> { in error_diff_mismatch()
46 println!("--- expected: {:?}", filename); in error_diff_mismatch()
59 if let Some(var) = env::var_os("BINDGEN_TESTS_DIFFTOOL") { in error_diff_mismatch()
60 //usecase: var = "meld" -> You can hand check differences in error_diff_mismatch()
66 PathBuf::from(env::var("OUT_DIR").unwrap()).join(name); in error_diff_mismatch()
[all …]
/third_party/rust/rust/src/tools/clippy/tests/
Dworkspace.rs14 let root = PathBuf::from(env!("CARGO_MANIFEST_DIR")); in test_module_style_with_dep_in_subdir()
21 .env("CARGO_TARGET_DIR", &target_dir) in test_module_style_with_dep_in_subdir()
23 .args(["-p", "pass-no-mod-with-dep-in-subdir"]) in test_module_style_with_dep_in_subdir()
24 .args(["-p", "pass-mod-with-dep-in-subdir"]) in test_module_style_with_dep_in_subdir()
28 // [#8887](https://github.com/rust-lang/rust-clippy/issues/8887) in test_module_style_with_dep_in_subdir()
33 .env("CARGO_INCREMENTAL", "0") in test_module_style_with_dep_in_subdir()
34 .env("CARGO_TARGET_DIR", &target_dir) in test_module_style_with_dep_in_subdir()
36 .args(["-p", "pass-no-mod-with-dep-in-subdir"]) in test_module_style_with_dep_in_subdir()
37 .args(["-p", "pass-mod-with-dep-in-subdir"]) in test_module_style_with_dep_in_subdir()
38 .arg("--") in test_module_style_with_dep_in_subdir()
[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/mesa3d/.gitlab-ci/
Dcrosvm-runner.sh1 #!/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 …]
/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/`.
13 use std::env;
18 println!("cargo:rustc-link-search=/path/to/lib");
22 println!("cargo:rustc-link-lib=bz2");
28 // The input header we would like to generate
34 // Finish the builder and generate the bindings.
35 .generate()
37 .expect("Unable to generate bindings");
40 let out_path = PathBuf::from(env::var("OUT_DIR").unwrap());
[all …]
Dnon-system-libraries.md1 Now let's suppose we want to generate bindings for a non-system library. We
20 use std::env;
28 // Canonicalize the path as `rustc-link-search` requires an absolute
43 println!("cargo:rustc-link-search={}", libdir_path.to_str().unwrap());
47 println!("cargo:rustc-link-lib=hello");
52 .arg("-c")
53 .arg("-o")
65 // Run `ar` to generate the `libhello.a` file from the `hello.o` file.
84 // The input header we would like to generate
90 // Finish the builder and generate the bindings.
[all …]
/third_party/rust/crates/unicode-ident/.github/workflows/
Dci.yml12 env:
13 RUSTFLAGS: -Dwarnings
21 runs-on: ubuntu-latest
23 timeout-minutes: 45
25 - uses: actions/checkout@v4
26 - uses: dtolnay/rust-toolchain@stable
27 - id: ucd-generate
28 …run: echo "version=$(grep 'ucd-generate [0-9]\+\.[0-9]\+\.[0-9]\+' tests/tables/tables.rs --only-m…
29 - run: cargo install ucd-generate
30- run: curl https://www.unicode.org/Public/zipped/latest/UCD.zip --location --remote-name --silent…
[all …]
/third_party/rust/rust/src/tools/clippy/.github/workflows/
Ddeploy.yml6 - master
7 - beta
9 - rust-1.**
11 env:
12 TARGET_BRANCH: 'gh-pages'
18 runs-on: ubuntu-latest
19 if: github.repository == 'rust-lang/rust-clippy'
23 - name: Checkout
26 - name: Checkout
29 ref: ${{ env.TARGET_BRANCH }}
[all …]
/third_party/skia/m133/infra/bots/recipe_modules/build/examples/full.expected/
DBuild-Debian10-Clang-x86_64-Debug-Coverage.json5 "[START_DIR]/cache/work/skia/bin/fetch-gn"
8 "env": { object
13 "name": "fetch-gn"
18 "[START_DIR]/cache/work/skia/bin/fetch-ninja"
21 "env": { object
26 "name": "fetch-ninja"
31 "-u",
33 "--json-output",
49 "-s"
52 "env": { object
[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/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.sh1 #!/usr/bin/env bash
6 mkdir -p $rootfs_dst/results
9 cp $BM/bm-init.sh $rootfs_dst/init
14 # Make JWT token available as file in the bare-metal storage to enable access
20 cp "$SCRIPTS_DIR/setup-test-env.sh" "$rootfs_dst/"
24 # Pass through relevant env vars from the gitlab job to the baremetal init script
26 "$CI_COMMON"/generate-env.sh | tee $rootfs_dst/set-job-env-vars.sh
28 set -x
31 mkdir -p $rootfs_dst/$CI_PROJECT_DIR
32 rsync -aH --delete $CI_PROJECT_DIR/install/ $rootfs_dst/$CI_PROJECT_DIR/install/
/third_party/rust/rust/src/bootstrap/
Drun.rs21 /// Runs the `expand-yaml_anchors` tool.
29 &mut builder.tool_cmd(Tool::ExpandYamlAnchors).arg("generate").arg(&builder.src), in run()
34 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
35 run.path("src/tools/expand-yaml-anchors") in should_run()
43 fn try_run(builder: &Builder<'_>, cmd: &mut Command) -> Result<(), ()> { in try_run()
63 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> { in should_run()
64 run.path("src/tools/build-manifest") in should_run()
72 // This gets called by `promote-release` in run()
73 // (https://github.com/rust-lang/promote-release). in run()
76 panic!("\n\nfailed to specify `dist.sign-folder` in `config.toml`\n\n") in run()
[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/tex-hyphen/
DRakefile1 if ENV['RACK_ENV'] == "production"
9 ruby "tools/yaml/validate-header.rb hyph-utf8/tex/generic/hyph-utf8/patterns/tex"
14 …task.pattern = File.join(File.expand_path('../hyph-utf8/source/generic/hyph-utf8', __FILE__), RSpe…
19 ruby "hyph-utf8/source/generic/hyph-utf8/generate-converters.rb"
20 ruby "hyph-utf8/source/generic/hyph-utf8/generate-pattern-loaders.rb"
21 ruby "hyph-utf8/source/generic/hyph-utf8/generate-ptex-patterns.rb"
22 ruby "hyph-utf8/source/generic/hyph-utf8/generate-tl-files.rb"
23 ruby "hyph-utf8/source/generic/hyph-utf8/generate-plain-patterns.rb"
/third_party/rust/crates/bindgen/bindgen-integration/
Dbuild.rs8 use std::env;
20 fn will_parse_macro(&self, name: &str) -> MacroParsingBehavior { in will_parse_macro()
30 fn int_macro(&self, name: &str, _value: i64) -> Option<IntKind> { in int_macro()
50 // The integer test macro is, actually, not expected to show up here at all -- but in str_macro()
65 panic!("func_macro was called for a non-functional macro"); in func_macro()
68 // Spaces are inserted into the right-hand side of a functional in func_macro()
73 assert_eq!(value, &[b"-" as &[u8], b"TESTMACRO_INTEGER"]); in func_macro()
106 fn item_name(&self, original_item_name: &str) -> Option<String> { in item_name()
125 fn add_derives(&self, info: &DeriveInfo<'_>) -> Vec<String> { in add_derives()
157 fn wrap_as_variadic_fn(&self, name: &str) -> Option<String> { in wrap_as_variadic_fn()
[all …]
/third_party/rust/crates/bindgen/bindgen-cli/
Dmain.rs1 use std::env;
32 match builder_from_flags(env::args()) { in main()
45 builder.generate().expect("Unable to generate bindings"); in main()
61 "This may be caused by one of the known-unsupported \ in print_verbose_err()
62 things (https://rust-lang.github.io/rust-bindgen/cpp.html), \ in print_verbose_err()
64 described in https://rust-lang.github.io/rust-bindgen/cpp.html" in print_verbose_err()
68 https://github.com/rust-lang/rust-bindgen/issues/new" in print_verbose_err()
/third_party/rust/rust/src/ci/docker/host-x86_64/disabled/dist-armv7-android/
DDockerfile3 COPY scripts/android-base-apt-get.sh /scripts/
4 RUN sh /scripts/android-base-apt-get.sh
6 COPY scripts/android-ndk.sh /scripts/
7 RUN . /scripts/android-ndk.sh && \
8 download_ndk android-ndk-r15c-linux-x86_64.zip && \
14 ln -s /android/ndk/arm-21 /android/ndk/arm
16 ENV PATH=$PATH:/android/ndk/arm-14/bin
18 ENV DEP_Z_ROOT=/android/ndk/arm-14/sysroot/usr/
20 ENV HOSTS=armv7-linux-androideabi
22 ENV RUST_CONFIGURE_ARGS \
[all …]
/third_party/rust/rust/src/ci/docker/host-x86_64/disabled/dist-i686-android/
DDockerfile3 COPY scripts/android-base-apt-get.sh /scripts/
4 RUN sh /scripts/android-base-apt-get.sh
6 COPY scripts/android-ndk.sh /scripts/
7 RUN . /scripts/android-ndk.sh && \
8 download_ndk android-ndk-r15c-linux-x86_64.zip && \
14 ln -s /android/ndk/x86-21 /android/ndk/x86
16 ENV PATH=$PATH:/android/ndk/x86-14/bin
18 ENV DEP_Z_ROOT=/android/ndk/x86-14/sysroot/usr/
20 ENV HOSTS=i686-linux-android
22 ENV RUST_CONFIGURE_ARGS \
[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 …]

12345678910>>...36