Home
last modified time | relevance | path

Searched +full:- +full:- +full:build +full:- +full:root (Results 1 – 25 of 1171) sorted by relevance

12345678910>>...47

/external/ksp/integration-tests/src/test/kotlin/com/google/devtools/ksp/test/
DPlaygroundIT.kt19 …private fun GradleRunner.buildAndCheck(vararg args: String, extraCheck: (BuildResult) -> Unit = {}… in <lambda>()
25 extraCheck: (BuildResult) -> Unit = {} in <lambda>()
27 val result = this.withArguments(*args).build() in <lambda>()
29 Assert.assertEquals(outcome, result.task(":workload:build")?.outcome) in <lambda>()
31 val artifact = File(project.root, "workload/build/libs/workload-1.0-SNAPSHOT.jar") in <lambda>()
34 JarFile(artifact).use { jarFile -> in <lambda>()
48 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
49 gradleRunner.buildAndCheck("clean", "build") in <lambda>()
50 gradleRunner.buildAndCheck("clean", "build") in <lambda>()
54 // Or use a project that depends on a builtin plugin like all-open and see if the build fails in <lambda>()
[all …]
DKMPImplementedIT.kt19 val artifact = File(project.root, jarName) in <lambda>()
22 JarFile(artifact).use { jarFile -> in <lambda>()
30 val artifact = File(project.root, path) in <lambda>()
45 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
48 "--configuration-cache-problems=warn", in <lambda>()
50 ":workload-jvm:build" in <lambda>()
51 ).build().let { in <lambda>()
52 Assert.assertEquals(TaskOutcome.SUCCESS, it.task(":workload-jvm:build")?.outcome) in <lambda>()
54 "workload-jvm/build/libs/workload-jvm-jvm-1.0-SNAPSHOT.jar", in <lambda>()
69 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
[all …]
DIncrementalIT.kt81 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
83 gradleRunner.withArguments("clean", "assemble").build().let { result -> in <lambda>()
87 gradleRunner.withArguments("assemble").build().let { result -> in <lambda>()
94 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
96 gradleRunner.withArguments("clean", "assemble").build().let { result -> in <lambda>()
99 … val cleanArtifact = Artifact(File(project.root, "workload/build/libs/workload-1.0-SNAPSHOT.jar")) in <lambda>()
101 src2Dirty.forEach { (src, expectedDirties) -> in <lambda>()
102 File(project.root, src).appendText("\n\n") in <lambda>()
103 gradleRunner.withArguments("assemble").build().let { result -> in <lambda>()
109 …val incrementalArtifact = Artifact(File(project.root, "workload/build/libs/workload-1.0-SNAPSHOT.j… in <lambda>()
[all …]
DKSPCmdLineOptionsIT.kt19 val project: TemporaryTestProject = TemporaryTestProject("cmd-options")
22 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in runCmdCompiler()
23 gradleRunner.withArguments("clean", ":processors:build").build() in runCmdCompiler()
24 val processorJar = File(project.root, "processors/build/libs/processors-1.0-SNAPSHOT.jar") in runCmdCompiler()
27 val repoPath = "../build/repos/test/com/google/devtools/ksp/" in runCmdCompiler()
28 val kspPluginId = "com.google.devtools.ksp.symbol-processing" in runCmdCompiler()
29 …val kspPluginJar = File("$repoPath/symbol-processing-cmdline/2.0.255-SNAPSHOT").listFiles()!!.filt… in runCmdCompiler()
30 it.name.matches(Regex(".*-\\d.jar")) in runCmdCompiler()
32 … val kspApiJar = File("$repoPath/symbol-processing-api/2.0.255-SNAPSHOT").listFiles()!!.filter { in runCmdCompiler()
33 it.name.matches(Regex(".*-\\d.jar")) in runCmdCompiler()
[all …]
DOnErrorIT.kt12 val project: TemporaryTestProject = TemporaryTestProject("on-error") in <lambda>()
16 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
18 gradleRunner.withArguments("clean", "assemble").buildAndFail().let { result -> in <lambda>()
27 …File(project.root, "workload/build.gradle.kts").appendText("\nksp { arg(\"exception\", \"init\") }… in <lambda>()
28 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
30 gradleRunner.withArguments("clean", "assemble").buildAndFail().let { result -> in <lambda>()
34 project.restore("workload/build.gradle.kts") in <lambda>()
39 …File(project.root, "workload/build.gradle.kts").appendText("\nksp { arg(\"exception\", \"process\"… in <lambda>()
40 val gradleRunner = GradleRunner.create().withProjectDir(project.root) in <lambda>()
42 gradleRunner.withArguments("clean", "assemble").buildAndFail().let { result -> in <lambda>()
[all …]
DBuildCacheIT.kt21 …val buildCacheDir = File(project1.root, "build-cache").absolutePath.replace(File.separatorChar, '/… in testBuildCache()
22 File(project1.root, "gradle.properties").appendText("\nbuildCacheDir=$buildCacheDir") in testBuildCache()
23 File(project2.root, "gradle.properties").appendText("\nbuildCacheDir=$buildCacheDir") in testBuildCache()
25 GradleRunner.create().withProjectDir(project1.root).withArguments( in testBuildCache()
26 "--build-cache", in testBuildCache()
28 "build" in testBuildCache()
29 ).build().let { in testBuildCache()
33 GradleRunner.create().withProjectDir(project2.root).withArguments( in testBuildCache()
34 "--build-cache", in testBuildCache()
36 "build" in testBuildCache()
[all …]
/external/grpc-grpc/tools/run_tests/helper_scripts/
Dbuild_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 # change to grpc repo root
25 PLATFORM=$(uname -s)
60 if [[ -n "${VIRTUAL_ENV}" ]]; then
67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))"
93 PYTHON=${1:-python2.7}
94 VENV=${2:-$(venv "$PYTHON")}
95 VENV_RELATIVE_PYTHON=${3:-$(venv_relative_python)}
96 TOOLCHAIN=${4:-$(toolchain)}
[all …]
/external/cronet/build/gn_ast/
Dgn_editor.py3 # Use of this source code is governed by a BSD-style license that can be
23 _BUILD_ANDROID_PATH = _SRC_PATH / 'build/android'
28 _BUILD_ANDROID_GYP_PATH = _SRC_PATH / 'build/android/gyp'
55 def _add_deps(target: str, deps: List[str], root: pathlib.Path, path: str):
56 with json_gn_editor.BuildFile(path, root) as build_file:
61 root: pathlib.Path, path: str):
62 with json_gn_editor.BuildFile(path, root) as build_file:
66 def _split_deps(existing_dep: str, new_deps: List[str], root: pathlib.Path,
67 path: str, dryrun: bool) -> Optional[OperationResult]:
68 with json_gn_editor.BuildFile(path, root, dryrun=dryrun) as build_file:
[all …]
/external/angle/build/gn_ast/
Dgn_editor.py3 # Use of this source code is governed by a BSD-style license that can be
23 _BUILD_ANDROID_PATH = _SRC_PATH / 'build/android'
28 _BUILD_ANDROID_GYP_PATH = _SRC_PATH / 'build/android/gyp'
55 def _add_deps(target: str, deps: List[str], root: pathlib.Path, path: str):
56 with json_gn_editor.BuildFile(path, root) as build_file:
61 root: pathlib.Path, path: str):
62 with json_gn_editor.BuildFile(path, root) as build_file:
66 def _split_deps(existing_dep: str, new_deps: List[str], root: pathlib.Path,
67 path: str, dryrun: bool) -> Optional[OperationResult]:
68 with json_gn_editor.BuildFile(path, root, dryrun=dryrun) as build_file:
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/helper_scripts/
Dbuild_python.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 # change to grpc repo root
25 PLATFORM=$(uname -s)
60 if [[ -n "${VIRTUAL_ENV}" ]]; then
67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))"
93 PYTHON=${1:-python2.7}
94 VENV=${2:-$(venv "$PYTHON")}
95 VENV_RELATIVE_PYTHON=${3:-$(venv_relative_python)}
96 TOOLCHAIN=${4:-$(toolchain)}
[all …]
/external/rust/beto-rust/nearby/src/
Dffi.rs7 // http://www.apache.org/licenses/LICENSE-2.0
20 pub fn check_ffi(root: &path::Path, cargo_options: &CargoOptions) -> anyhow::Result<()> { in check_ffi()
21 crypto_ffi::check_boringssl(root, cargo_options)?; in check_ffi()
22 check_np_ffi_cmake(root, cargo_options)?; in check_ffi()
23 check_ldt_cmake(root, cargo_options)?; in check_ffi()
28 pub fn check_np_ffi_cmake(root: &path::Path, cargo_options: &CargoOptions) -> anyhow::Result<()> { in check_np_ffi_cmake()
29 log::info!("Checking CMake build and tests for np ffi c/c++ code"); in check_np_ffi_cmake()
30 let build_dir = root.join("presence/cmake-build"); in check_np_ffi_cmake()
33 let locked_arg = if cargo_options.locked { "--locked" } else { "" }; in check_np_ffi_cmake()
37 "cmake -G Ninja -DENABLE_TESTS=true -DCMAKE_BUILD_TYPE=Release -DENABLE_FUZZ=false ..", in check_np_ffi_cmake()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DCertificateChainCleanerTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
32 HeldCertificate root = new HeldCertificate.Builder() in normalizeSingleSelfSignedCertificate() local
34 .build(); in normalizeSingleSelfSignedCertificate()
36 new RealTrustRootIndex(root.certificate)); in normalizeSingleSelfSignedCertificate()
37 assertEquals(list(root), council.clean(list(root))); in normalizeSingleSelfSignedCertificate()
41 HeldCertificate root = new HeldCertificate.Builder() in normalizeUnknownSelfSignedCertificate() local
43 .build(); in normalizeUnknownSelfSignedCertificate()
47 council.clean(list(root)); in normalizeUnknownSelfSignedCertificate()
54 HeldCertificate root = new HeldCertificate.Builder() in orderedChainOfCertificatesWithRoot() local
56 .build(); in orderedChainOfCertificatesWithRoot()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
74 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree()
81 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local
82 assertThat(root.getLocation(OPTIONAL_INT32, 0)).isEqualTo(LOC0); in testGetLocationReturnsSingleLocation()
83 assertThat(root.getLocations(OPTIONAL_INT32)).hasSize(1); in testGetLocationReturnsSingleLocation()
88 assertThat(rootBuilder.build().getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField()
90 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local
91 assertThat(root.getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField()
92 assertThat(root.getLocations(OPTIONAL_BOOLEAN).get(0)).isEqualTo(LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField()
[all …]
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DTextFormatParseInfoTreeTest.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
74 TextFormatParseInfoTree tree = rootBuilder.build(); in testBuildEmptyParseTree()
81 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationReturnsSingleLocation() local
82 assertThat(root.getLocation(OPTIONAL_INT32, 0)).isEqualTo(LOC0); in testGetLocationReturnsSingleLocation()
83 assertThat(root.getLocations(OPTIONAL_INT32)).hasSize(1); in testGetLocationReturnsSingleLocation()
88 assertThat(rootBuilder.build().getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField()
90 TextFormatParseInfoTree root = rootBuilder.build(); in testGetLocationsReturnsNoParseLocationsForUnknownField() local
91 assertThat(root.getLocations(OPTIONAL_INT32)).isEmpty(); in testGetLocationsReturnsNoParseLocationsForUnknownField()
92 assertThat(root.getLocations(OPTIONAL_BOOLEAN).get(0)).isEqualTo(LOC0); in testGetLocationsReturnsNoParseLocationsForUnknownField()
[all …]
/external/libbpf/docs/
Dlibbpf_build.rst1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
8 pkg-config is used by default to find libelf, and the program called
11 If using pkg-config at build time is not desired, it can be disabled by
14 To build both static libbpf.a and shared libbpf.so:
16 .. code-block:: bash
21 To build only static libbpf.a library in directory build/ and install them
22 together with libbpf headers in a staging directory root/:
24 .. code-block:: bash
27 $ mkdir build root
28 $ BUILD_STATIC_ONLY=y OBJDIR=build DESTDIR=root make install
[all …]
/external/toybox/mkroot/
DREADME1 mkroot - simple linux system builder
3 Compiles a toybox-based root filesystem and kernel that can boot under qemu.
6 launched via ./run-qemu.sh (which assumes you have QEMU installed, KVM
12 --- Quick Start
14 To install the build prerequisites: download toybox source, linux kernel source,
19 $ wget https://landley.net/bin/toolchains/latest/i686-linux-musl-cross.tar.xz
21 $ tar xvJCf ccc i686-linux-musl-cross.tar.xz
26 $ root/i686/run-qemu.sh
31 --- Building without a cross compiler (warning: glibc sucks)
34 variable builds a statically linked root filesystem with the host's compiler.
[all …]
Dmkroot.sh3 # ------------------------------ Part 1: Setup -------------------------------
6 [ -z "$NOCLEAR" ] && exec env -i NOCLEAR=1 HOME="$HOME" PATH="$PATH" \
9 ! [ -d mkroot ] && echo "Run mkroot/mkroot.sh from toybox source dir." && exit 1
13 [ "${i/=/}" != "$i" ] && export "$i" || { [ "$i" != -- ] && PKG="$PKG $i"; }
17 : ${TOP:=$PWD/root} ${BUILD:=$TOP/build} ${LOG:=$BUILD/log}
18 : ${AIRLOCK:=$BUILD/airlock} ${CCC:=$PWD/ccc} ${PKGDIR:=$PWD/mkroot/packages}
23 # ----- Are we cross compiling (via CROSS_COMPILE= or CROSS=)
25 if [ -n "$CROSS_COMPILE" ]; then
27 [ -z "${X:=$(command -v "$CROSS_COMPILE"cc)}" ] && die "no ${CROSS_COMPILE}cc"
28 CROSS_COMPILE="$(realpath -s "${X%cc}")"
[all …]
/external/pigweed/pw_build/py/
Dpython_runner_test.py8 # https://www.apache.org/licenses/LICENSE-2.0
26 ROOT = Path(r'C:\gn_root' if platform.system() == 'Windows' else '/gn_root') variable
29 ROOT,
30 ROOT / 'out',
31 ROOT / 'some' / 'cwd',
49 self.assertEqual(label.dir, ROOT)
51 label.out_dir, ROOT.joinpath('out', toolchain, 'obj')
54 label.gen_dir, ROOT.joinpath('out', toolchain, 'gen')
61 self.assertEqual(label.dir, ROOT.joinpath('foo/bar'))
63 label.out_dir, ROOT.joinpath('out', toolchain, 'obj/foo/bar')
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
61 constant1->shape(), HloOpcode::kAdd, constant1, constant2)); in TEST_F()
64 auto computation = module->AddEntryComputation(builder.Build()); in TEST_F()
66 EXPECT_EQ(3, computation->instruction_count()); in TEST_F()
71 EXPECT_EQ(2, computation->instruction_count()); in TEST_F()
72 HloInstruction* constant = *computation->instructions().begin(); in TEST_F()
73 EXPECT_EQ(42.0f, constant->literal().Get<float>({})); in TEST_F()
75 auto result = ExecuteAndTransfer(module->Clone(), {}); in TEST_F()
77 EXPECT_TRUE(LiteralTestUtil::Near(expected, result, ErrorSpec(1e-4))); in TEST_F()
91 constant1->shape(), HloOpcode::kAdd, constant1, constant2)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc7 http://www.apache.org/licenses/LICENSE-2.0
67 TF_ASSERT_OK(float_session->Create(float_graph_def)); in TestTransformedVersusFloatGraph()
70 float_session->Run(float_inputs, output_names, {}, &float_outputs)); in TestTransformedVersusFloatGraph()
84 TF_ASSERT_OK(transformed_session->Create(*transformed_graph_def)); in TestTransformedVersusFloatGraph()
86 TF_ASSERT_OK(transformed_session->Run(transformed_inputs, output_names, {}, in TestTransformedVersusFloatGraph()
156 auto root = tensorflow::Scope::NewRootScope(); in TestIgnoreOps() local
157 using namespace ::tensorflow::ops; // NOLINT(build/namespaces) in TestIgnoreOps()
164 return Const(root.WithOpName(name), Input::Initializer(tensor)); in TestIgnoreOps()
175 Output mat_mul_op = MatMul(root.WithOpName("mat_mul_op"), a_op, b_op); in TestIgnoreOps()
176 Output mul_op = Mul(root.WithOpName("mul"), c_op, d_op); in TestIgnoreOps()
[all …]
/external/compiler-rt/lib/tsan/
Dcheck_cmake.sh2 set -u
3 set -e
5 ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6 if [ -d "$ROOT/llvm-build" ]; then
7 cd $ROOT/llvm-build
9 mkdir -p $ROOT/llvm-build
10 cd $ROOT/llvm-build
11 …CC=clang CXX=clang++ cmake -G Ninja -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENAB…
14 ninja check-sanitizer
15 ninja check-tsan
[all …]
/external/testng/bin/
Drun-tests.sh1 ROOT=~/java/testng
3 JAR14=$ROOT/testng-$VERSION-jdk14.jar
4 JAR15=$ROOT/testng-$VERSION-jdk15.jar
6 java -ea -classpath test/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH …
8 java -ea -classpath test/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPA…
10 java -ea -classpath test-14/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPA…
12 …a -ea -classpath test-14/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSP…
/external/libbpf/.github/actions/vmtest/
Daction.yml2 description: 'Build + run vmtest'
20 - name: Setup environment
21 uses: libbpf/ci/setup-build-env@main
25 - name: Get checkpoint commit
28 cat CHECKPOINT-COMMIT
29 echo "CHECKPOINT=$(cat CHECKPOINT-COMMIT)" >> $GITHUB_ENV
30 - name: Get kernel source at checkpoint
31 uses: libbpf/ci/get-linux-source@main
33 repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git'
36 - name: Patch kernel source
[all …]
/external/autotest/site_utils/admin/
Dclean_staged_images.py3 # Use of this source code is governed by a BSD-style license that can be
11 1. Check if the build target is in the list of targets that need to keep the
12 latest build. Skip processing the directory if that's True.
34 def get_all_timestamp_dirs(root): argument
37 @param root: The top folder to look for timestamp file.
40 for dir_path, dir_names, file_names in os.walk(root):
50 """Test to see if the build at |build_path| is older than |max_age_hours|.
52 @param build_path: The path to the build (ie. 'build_dir/R21-2035.0.0')
53 @param max_age_hours: The maximum allowed age of a build in hours.
54 @return: True if the build is older than |max_age_hours|, False otherwise.
[all …]
/external/toybox/scripts/
Dhelp.txt1 toybox - Build toybox.
2 COMMANDNAME - Build individual toybox command as a standalone binary.
3 list - List COMMANDNAMEs you can build standalone.
4 list_example - List example commands (often used by the test suite)
5 list_pending - List unfinished COMMANDNAMEs out of toys/pending.
6 change - Build each command standalone under change/.
7 baseline - Create toybox_old for use by bloatcheck.
8 bloatcheck - Report size differences between old and current versions
9 test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.)
10 tests - Run test suite against all compiled commands.
[all …]

12345678910>>...47