Home
last modified time | relevance | path

Searched +full:setup +full:- +full:test +full:- +full:env (Results 1 – 25 of 1020) sorted by relevance

12345678910>>...41

/external/python/setuptools/setuptools/tests/
Dtest_egg_info.py30 from setuptools import setup
32 setup(
42 'setup.py': self.setup_script,
50 def _extract_mv_version(pkg_info_lines: List[str]) -> Tuple[int, int]:
55 def env(self): member in TestEggInfo
56 with contexts.tempdir(prefix='setuptools-test.') as env_dir:
57 env = Environment(env_dir)
59 subs = 'home', 'lib', 'scripts', 'data', 'egg-base'
60 env.paths = dict(
64 list(map(os.mkdir, env.paths.values()))
[all …]
Dtest_develop.py10 from setuptools.command import test
21 from setuptools import setup
23 setup(name='foo',
45 setup = target / 'setup.py'
46 if setup.isfile():
48 with setup.open('w') as f:
63 Test that console scripts are installed and that they reference
81 dist.script_name = 'setup.py'
93 more meaningful cases that look like real-world scenarios.
112 'setup.py',
[all …]
/external/lottie/.github/workflows/
Dvalidate.yml7 - master
10 gradle-wrapper:
11 runs-on: ubuntu-latest
13 - uses: actions/checkout@v3
14 - uses: gradle/wrapper-validation-action@v1
16 runs-on: ubuntu-latest
18 - name: Checkout the code
20 - name: Setup JDK
21 uses: actions/setup-java@v2
24 java-version: 17
[all …]
/external/jetpack-camera-app/.github/workflows/
DPullRequestWorkflow.yaml6 group: build-${{ github.ref }}
7 cancel-in-progress: true
9 env:
16 runs-on: ubuntu-latest
17 timeout-minutes: 120
19 - name: Checkout
22 - name: Validate Gradle Wrapper
23 uses: gradle/wrapper-validation-action@v2
25 - name: Set up JDK
26 uses: actions/setup-java@v4
[all …]
/external/libxkbcommon/.github/workflows/
Dmain.yml11 runs-on: ubuntu-18.04
16 - uses: actions/checkout@v2
17 - uses: actions/setup-python@v1
19 python-version: '3.7'
20 - name: Install dependencies
22 python -m pip install --upgrade pip meson
23 sudo apt update -y
24 sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
25 doxygen libxcb-xkb-dev valgrind ninja-build \
26 libwayland-dev wayland-protocols bison graphviz
[all …]
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py7 #----------------------------------------------------------------------
10 def setUp(self): member in DBEnv
12 self.env = db.DBEnv()
15 self.env.close()
16 del self.env
22 self.env.open(self.homeDir, flags)
23 self.assertEqual(flags, self.env.get_open_flags())
28 self.env.open(self.homeDir, flags)
29 self.assertEqual(flags, self.env.get_open_flags())
34 self.env.set_lk_partitions(i)
[all …]
/external/google-auth-library-java/.github/workflows/
Dci.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
14 # Github action job to test core java library features on
19 - main
24 runs-on: ubuntu-latest
26 fail-fast: false
30 - uses: actions/checkout@v3
31 - uses: actions/setup-java@v3
34 java-version: ${{matrix.java}}
35 - run: java -version
36 - run: .kokoro/build.sh
[all …]
/external/angle/third_party/glslang/src/.github/workflows/
Dcontinuous_integration.yml7 - main
9 permissions: read-all
13 runs-on: ubuntu-22.04
15 fail-fast: false
20 - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
21 - uses: lukka/get-cmake@18d87816d12dd87ec1449d47b9b3a587e0a1cc19 # v3.29.5
22 - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
24 python-version: '3.7'
25 - name: Setup ccache
26 uses: hendrikmuhs/ccache-action@c92f40bee50034e84c763e33b317c77adaa81c92 # v1.2.13
[all …]
/external/deqp-deps/glslang/.github/workflows/
Dcontinuous_integration.yml7 - main
9 permissions: read-all
13 runs-on: ubuntu-22.04
15 fail-fast: false
20 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
21 - uses: lukka/get-cmake@139aae96315b496d9af1b5e9abe53b15ca7eece8 # v3.28.3
22 - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
24 python-version: '3.7'
25 - name: Setup ccache
26 uses: hendrikmuhs/ccache-action@faf867a11c028c0b483fb2ae72b6fc8f7d842714 # v1.2.12
[all …]
/external/cronet/third_party/googletest/src/googletest/test/
Dgtest_environment_test.cc31 // 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 __anonaa183b840111::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 …]
/external/cronet/third_party/boringssl/src/third_party/googletest/googletest/test/
Dgtest_environment_test.cc31 // 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 __anond713051f0111::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 …]
/external/googletest/googletest/test/
Dgtest_environment_test.cc31 // 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 __anon5cf8dc7a0111::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 …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_environment_test.cc31 // Tests using global test environments.
36 #include "src/gtest-internal-inl.h"
48 // For testing using global test environments.
53 // Depending on the value of failure_in_set_up_, SetUp() will
54 // generate a non-fatal failure, generate a fatal failure, or
56 void SetUp() override { in SetUp() function in __anon6558f7b70111::MyEnvironment
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()
[all …]
/external/accompanist/.github/workflows/
Dbuild.yml1 name: Build & test
6 - main
7 - compose-1.0
8 - compose-1.0
9 - compose-1.1
10 - compose-1.2
11 - compose-1.3
12 - compose-1.4
13 - compose-1.5
14 paths-ignore:
[all …]
/external/bazelbuild-rules_testing/docs/source/
Dtest_suite.md1 # Test suites
3 The `test_suite` macro is a front-end for easily instantiating groups of
5 hood, each test is its own target with an aggregating `native.test_suite`
10 Basic tests are tests that don't require any custom setup or attributes. This is
15 To write such a test, simply write a `unit_test` compatible function (one that
16 accepts `env`) and pass it to `test_suite.basic_tests`.
28 def _foo_test(env):
29 env.expect.that_str(...).equals(...)
40 Note that it isn't _required_ to write a custom test suite function, but doing
46 A regular test is a macro that acts as a setup function and is expected to
[all …]
Dunit_tests.md3 Unit tests are for Starlark code that isn't specific to analysis-phase or
6 under test.
8 To write such a test, simply write a function accepting `env` and pass it to
9 `test_suite`. The test suite will pass your verification function to
22 def _foo_test(env):
23 env.expect.that_str(...).equals(...)
34 Note that it isn't _required_ to write a custom test suite function, but doing
38 ## Customizing setup
40 If you want to customize the setup (loading phase) of a unit test, e.g. to add
41 custom attributes, then you need to write in the same style as an analysis test:
[all …]
/external/aws-crt-java/.github/workflows/
Dci.yml5 branches-ignore:
6 - 'main'
7 - 'docs'
9 env:
13 PACKAGE_NAME: aws-crt-java
14 LINUX_BASE_IMAGE: ubuntu-18-x64
15 RUN: ${{ github.run_id }}-${{ github.run_number }}
19 AWS_REGION: us-east-1
20 AWS_DEVICE_FARM_REGION: us-west-2 # Device Farm only available in us-west-2 region
23 linux-compat:
[all …]
/external/mksh/src/
Dcheck.pl3 #-
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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/.github/workflows/
Dpython_tests.yml6 - main
7 - '[0-9]+.x'
10 - main
11 - '[0-9]+.x'
17 runs-on: ubuntu-large
19 env:
21 …DOCKER_IMAGE: us-docker.pkg.dev/protobuf-build/release-containers/linux/apple@sha256:bb1d147384499…
24 - uses: actions/checkout@v2
25 - name: Set up Cloud SDK
26 uses: google-github-actions/auth@v0
[all …]
/external/python/absl-py/absl/testing/tests/
Dabsltest_randomization_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Tests for test randomization."""
35 def setUp(self): member in TestOrderRandomizationTest
36 super(TestOrderRandomizationTest, self).setUp()
40 """Runs the py_test binary in a subprocess, with the given args or env.
43 extra_argv: extra args to pass to the test
44 extra_env: extra env vars to set when running the test
49 env = absltest_env.inherited_env()
50 # If *this* test is being run with this flag, we don't want to
52 env.pop('TEST_RANDOMIZE_ORDERING_SEED', '')
[all …]
/external/freetype/
D.gitlab-ci.yml1 # CI setup for FreeType.
4 - build
6 # FIXME: Use --werror once warnings are fixed.
8 MESON_ARGS: --fatal-meson-warnings --default-library=both
9 MESON_ARGS_WINDOWS: ${MESON_ARGS} --force-fallback-for=zlib
14 image: "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2022-07-29.3-main"
17 - 'docker'
18 - 'windows'
19 - '2022'
20 - 'gstreamer-windows'
[all …]
/external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/templates/java_library/.github/workflows/
Dci.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
14 # Github action job to test core java library features on
19 - main
24 runs-on: ubuntu-latest
26 fail-fast: false
30 - uses: actions/checkout@v3
31 - uses: actions/setup-java@v3
34 java-version: ${{'{{matrix.java}}'}}
35 - run: java -version
36 - run: .kokoro/build.sh
[all …]
/external/sdk-platform-java/java-common-protos/.github/workflows/
Dci.yaml7 # http://www.apache.org/licenses/LICENSE-2.0
14 # Github action job to test core java library features on
19 - main
24 runs-on: ubuntu-latest
26 fail-fast: false
30 - uses: actions/checkout@v3
31 - uses: actions/setup-java@v3
34 java-version: ${{matrix.java}}
35 - run: java -version
36 - run: .kokoro/build.sh
[all …]
/external/mesa3d/.gitlab-ci/lava/utils/
Dssh_job_definition.py8 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 …]
/external/cronet/third_party/re2/src/.github/workflows/
Dpython.yml9 wheel-linux:
11 runs-on: ${{ matrix.arch.runs-on }}
13 image: quay.io/pypa/${{ matrix.os }}_${{ matrix.arch.python-name }}
17 options: --init --user 1001
19 fail-fast: false
22 - { name: X64, python-name: x86_64, runs-on: [ubuntu-latest] }
23 - { name: ARM64, python-name: aarch64, runs-on: [self-hosted, linux, arm64] }
26 env:
32 - uses: actions/checkout@v3
34 - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
[all …]

12345678910>>...41