Home
last modified time | relevance | path

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

12345678910>>...28

/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/protobuf/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/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 …]
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/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/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/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/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/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/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/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-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/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
39 2. an apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this.
47 …* `--with-test-nghttpx=<path-of-nghttpx>` if you have nghttpx to use somewhere outside your `$PATH…
48 …* `--with-test-httpd=<httpd-install-path>` if you have an Apache httpd installed somewhere else. O…
49 …* `--with-test-caddy=<caddy-install-path>` if you have a Caddy web server installed somewhere else.
[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)
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) Linux Test Project, 2004-2017
7 * hugeshmdt01 - check that largr shared memory is detached correctly
18 * this should generate a SIGSEGV which will be caught in
27 * 03/2001 - Written by Wayne Boyer
28 * 04/2004 - Updated by Robbie Williamson
36 static int shm_id_1 = -1;
40 static sigjmp_buf env; variable
52 if (shmdt(shared) == -1) in hugeshmdt_test()
59 if (shared == (void *)-1) in hugeshmdt_test()
[all …]
/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.5f * (float) RAND_MAX) - 1.0f ; in rand_float()
60 float env = 0.0f ; in crappy_snare() local
62 for (k = offset ; k < len && env < gain ; k++) in crappy_snare()
63 { env += 0.03f ; 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.995f ; in crappy_snare()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/ascendc/op_kernel/
DCMakeLists.txt1 if(DEFINED ENV{ASCEND_CUSTOM_PATH})
2 set(KERNEL_OPC_PATH $ENV{ASCEND_CUSTOM_PATH}/latest/)
5 elseif(EXISTS /usr/local/Ascend/ascend-toolkit/latest)
6 set(KERNEL_OPC_PATH /usr/local/Ascend/ascend-toolkit/latest)
10 set(OPC_PATH ${KERNEL_OPC_PATH}/aarch64-linux/bin/opc)
11 set(BUILTIN_OPP_PATH ${KERNEL_OPC_PATH}/opp/built-in/op_impl/ai_core/tbe)
14 # generate aic-${compute_unit}-ops-info.json
19 …${CMAKE_CURRENT_BINARY_DIR}/tbe/op_info_cfg/ai_core/${compute_unit}/aic-${compute_unit}-ops-info.j…
21 ${ASCEND_AUTOGEN_PATH}/aic-${compute_unit}-ops-info.ini
25 # generate ascendc impl py once
[all …]

12345678910>>...28