| /external/cronet/testing/merge_scripts/code_coverage/ |
| D | merge_results_test.py | 3 # Use of this source code is governed by a BSD-style license that can be 22 # pylint: disable=super-with-arguments 26 # pylint: enable=super-with-arguments 29 """Test the step-level merge front-end.""" 38 task_output_dir = 'some/task/output/dir' 42 'script_name', '--output-json', 'output.json', '--build-properties', 43 build_properties, '--summary-json', 'summary.json', '--task-output-dir', 44 task_output_dir, '--profdata-dir', profdata_dir, '--llvm-profdata', 45 'llvm-profdata', 'a.json', 'b.json', 'c.json', '--test-target-name', 46 'base_unittests', '--sparse' [all …]
|
| D | merge_results.py | 3 # Use of this source code is governed by a BSD-style license that can be 5 """Merge results from code-coverage/pgo swarming runs. 7 This script merges code-coverage/pgo profiles from multiple shards. It also 28 parser.add_argument('--build-properties', help=argparse.SUPPRESS) 29 parser.add_argument('--summary-json', help=argparse.SUPPRESS) 30 parser.add_argument('--task-output-dir', help=argparse.SUPPRESS) 32 '-o', '--output-json', required=True, help=argparse.SUPPRESS) 37 '--additional-merge-script', help='additional merge script to run') 39 '--additional-merge-script-args', 42 '--profdata-dir', required=True, help='where to store the merged data') [all …]
|
| /external/linux-kselftest/tools/testing/selftests/arm64/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 ARCH ?= $(shell uname -m 2>/dev/null || echo not) 12 CFLAGS := -Wall -O2 -g 18 CFLAGS += -I$(top_srcdir)/tools/testing/selftests/ 26 @for DIR in $(ARM64_SUBTARGETS); do \ 27 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 28 mkdir -p $$BUILD_TARGET; \ 29 make OUTPUT=$$BUILD_TARGET -C $$DIR $@; \ 33 @for DIR in $(ARM64_SUBTARGETS); do \ 34 BUILD_TARGET=$(OUTPUT)/$$DIR; \ [all …]
|
| /external/antlr/runtime/ActionScript/project/ |
| D | build.xml | 4 <property name="build.dir" value="${basedir}/build"/> 5 <property name="build.lib.dir" value="${build.dir}/lib"/> 6 <property name="build.doc.dir" value="${build.dir}/doc"/> 7 <property name="build.test.dir" value="${build.dir}/test"/> 8 <property name="build.test.output.dir" value="${build.test.dir}/output"/> 9 <property name="src.dir" value="${basedir}/src"/> 13 <!-- Assume SDK 3.0 or greater has the ant tasks --> 17 <fileset id="sources" dir="${src.dir}"> 23 <replacestring from="${src.dir}/" to=""/> <!-- Strip off directory --> 24 <replacestring from=".as" to=""/> <!-- Strip off extension --> [all …]
|
| /external/python/cpython2/Lib/test/ |
| D | test_filecmp.py | 9 self.name_same = test_support.TESTFN + '-same' 10 self.name_diff = test_support.TESTFN + '-diff' 13 output = open(name, 'w') 14 output.write(data) 15 output.close() 17 output = open(self.name_diff, 'a+') 18 output.write('An extra line.\n') 19 output.close() 20 self.dir = tempfile.gettempdir() 40 self.assertFalse(filecmp.cmp(self.name, self.dir), [all …]
|
| /external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/ |
| D | relative.pass.cpp | 1 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===// 26 #include "rapid-cxx-test.hpp" 34 const fs::path output = fs::weakly_canonical(p); in TEST_CASE() local 35 TEST_CHECK(output == std::string(fs::current_path())); in TEST_CASE() 40 const fs::path output = fs::weakly_canonical(p); in TEST_CASE() local 41 TEST_CHECK(output == std::string(fs::current_path())); in TEST_CASE() 46 const fs::path output = fs::weakly_canonical(p); in TEST_CASE() local 47 TEST_CHECK(output == std::string(StaticEnv::File)); in TEST_CASE() 51 fs::path p(StaticEnv::Dir); in TEST_CASE() [all …]
|
| /external/zstd/tests/cli-tests/file-handling/ |
| D | directory-mirror.sh | 2 set -e 5 mkdir -p src/.hidden src/dir 11 echo "file4" > src/dir/.file4 14 zstd -q -r --output-dir-mirror mid/ src/ 15 zstd -q -d -r --output-dir-mirror dst/ mid/src/ 17 diff --brief --recursive --new-file src/ dst/mid/src/ 20 rm -rf mid dst 24 (cd src; zstd -q -r --output-dir-mirror ../mid/ ./) 25 (cd mid; zstd -q -d -r --output-dir-mirror ../dst/ ./) 27 diff --brief --recursive --new-file src/ dst/ [all …]
|
| /external/python/cpython3/Lib/test/ |
| D | test_filecmp.py | 14 self.name_same = os_helper.TESTFN + '-same' 15 self.name_diff = os_helper.TESTFN + '-diff' 18 with open(name, 'w', encoding="utf-8") as output: 19 output.write(data) 21 with open(self.name_diff, 'a+', encoding="utf-8") as output: 22 output.write('An extra line.\n') 23 self.dir = tempfile.gettempdir() 43 self.assertFalse(filecmp.cmp(self.name, self.dir), 56 self.dir = os.path.join(tmpdir, 'dir') 57 self.dir_same = os.path.join(tmpdir, 'dir-same') [all …]
|
| /external/cronet/third_party/libc++/src/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/ |
| D | relative.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // UNSUPPORTED: no-filesystem 11 // UNSUPPORTED: availability-filesystem-missing 32 const fs::path output = fs::weakly_canonical(p); in test_signature_0() local 33 assert(output == fs::path::string_type(fs::current_path())); in test_signature_0() 38 const fs::path output = fs::weakly_canonical(p); in test_signature_1() local 39 assert(output == fs::path::string_type(fs::current_path())); in test_signature_1() 45 const fs::path output = fs::weakly_canonical(p); in test_signature_2() local [all …]
|
| /external/angle/build/android/docs/ |
| D | coverage.md | 10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented 23 Now when building, pre-instrumented files will be created in the build directory. 25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save 27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`. 39 --format html \ 40 --output-dir /tmp/coverage_report/ \ 41 --coverage-dir /tmp/coverage/ \ 42 --sources-json-dir out/Debug/ \ 44 Then an index.html containing coverage info will be created in output directory: 55 2. For XML and CSV reports, we need to specify `--output-file` instead of `--output-dir` since [all …]
|
| /external/cronet/build/android/docs/ |
| D | coverage.md | 10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented 23 Now when building, pre-instrumented files will be created in the build directory. 25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save 27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`. 39 --format html \ 40 --output-dir /tmp/coverage_report/ \ 41 --coverage-dir /tmp/coverage/ \ 42 --sources-json-dir out/Debug/ \ 44 Then an index.html containing coverage info will be created in output directory: 55 2. For XML and CSV reports, we need to specify `--output-file` instead of `--output-dir` since [all …]
|
| /external/harfbuzz_ng/test/shape/ |
| D | record-test.sh | 3 dir=`mktemp -d` 8 SHA1SUM='shasum -a 1' 10 SHA1SUM='digest -a sha1' 17 if test "x$1" == 'x-o'; then 27 if test "x${fontfile:0:1}" == 'x-'; then 32 if ! echo "$hb_subset" | grep -q 'subset'; then 33 echo "Specify hb-subset (or \"fonttools subset\"): got '$hb_subset'." >&2 36 if ! echo "$hb_shape" | grep -q 'hb-shape'; then 37 echo "Specify hb-shape (not hb-view, etc): got '$hb_shape'." >&2 43 if test "x${arg:0:1}" == 'x-'; then [all …]
|
| /external/testng/ant/ |
| D | build-ant.xml | 4 <property name="this.directory" value="${test.dir}" /> 5 <property name="test-output" value="${this.directory}/test-output" /> 10 <echo>This dir: ${this.directory}</echo> 11 <delete failonerror="false" dir="${this.directory}/build" /> 12 <mkdir dir="${this.directory}/build" /> 17 <!-- 18 <testng classpath="build;../../testng-5.2beta-jdk15.jar" 19 outputdir="test-output" 21 <xmlfileset dir="." includes="testng.xml"/> 23 --> [all …]
|
| /external/linux-kselftest/tools/testing/selftests/android/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 11 @for DIR in $(SUBDIRS); do \ 12 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 13 mkdir $$BUILD_TARGET -p; \ 14 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 16 TEST=$$DIR"_test.sh"; \ 17 if [ -e $$DIR/$$TEST ]; then \ 18 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ 23 mkdir -p $(INSTALL_PATH) 24 install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) [all …]
|
| /external/linux-kselftest/tools/testing/selftests/sparc64/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 uname_M := $(shell uname -m 2>/dev/null || echo not) 3 ARCH ?= $(shell echo $(uname_M) | sed -e s/x86_64/x86/) 21 @for DIR in $(SUBDIRS); do \ 22 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 23 mkdir $$BUILD_TARGET -p; \ 24 make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 26 TEST=$$DIR"_test.sh"; \ 27 if [ -e $$DIR/$$TEST ]; then \ 28 rsync -a $$DIR/$$TEST $$BUILD_TARGET/; \ [all …]
|
| /external/linux-kselftest/tools/testing/selftests/futex/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 11 @for DIR in $(SUBDIRS); do \ 12 BUILD_TARGET=$(OUTPUT)/$$DIR; \ 13 mkdir $$BUILD_TARGET -p; \ 14 $(MAKE) OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ 15 if [ -e $$DIR/$(TEST_PROGS) ]; then \ 16 rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ 21 mkdir -p $(INSTALL_PATH) 22 install -t $(INSTALL_PATH) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) 25 BUILD_TARGET=$(OUTPUT)/$$SUBDIR; \ [all …]
|
| /external/zstd/tests/cli-tests/basic/ |
| D | output_dir.sh | 3 println "+ zstd -r * --output-dir-mirror=\"\"" 4 zstd -r * --output-dir-mirror="" && die "Should not allow empty output dir!" 5 println "+ zstd -r * --output-dir-flat=\"\"" 6 zstd -r * --output-dir-flat="" && die "Should not allow empty output dir!"
|
| /external/skia/tools/testrunners/common/android/adb_test_runner/ |
| D | adb_test_runner_test.go | 2 // Use of this source code is governed by a BSD-style license that can be 31 "no device-specific config", 32 "--foo aaa bbb --bar ccc", 33 "--foo aaa bbb --bar ccc", 37 "device-specific config as single flag", 38 "--foo aaa bbb --device-specific-bazel-config=SomeDevice --bar ccc", 39 "--foo aaa bbb --bar ccc", 43 "device-specific config as single flag with extra spaces", 44 "--foo aaa bbb --device-specific-bazel-config=SomeDevice --bar ccc", 45 "--foo aaa bbb --bar ccc", [all …]
|
| /external/iptables/extensions/ |
| D | libxt_connbytes.txlate | 1 iptables-translate -A OUTPUT -m connbytes --connbytes 200 --connbytes-dir original --connbytes-mode… 2 nft 'add rule ip filter OUTPUT ct original packets ge 200 counter' 4 iptables-translate -A OUTPUT -m connbytes ! --connbytes 200 --connbytes-dir reply --connbytes-mode … 5 nft 'add rule ip filter OUTPUT ct reply packets lt 200 counter' 7 iptables-translate -A OUTPUT -m connbytes --connbytes 200:600 --connbytes-dir both --connbytes-mode… 8 nft 'add rule ip filter OUTPUT ct bytes 200-600 counter' 10 iptables-translate -A OUTPUT -m connbytes ! --connbytes 200:600 --connbytes-dir both --connbytes-mo… 11 nft 'add rule ip filter OUTPUT ct bytes != 200-600 counter' 13 iptables-translate -A OUTPUT -m connbytes --connbytes 200:200 --connbytes-dir both --connbytes-mode… 14 nft 'add rule ip filter OUTPUT ct avgpkt 200 counter'
|
| /external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/sevenz/ |
| D | SevenZOutputFileTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 44 System.out.println("XZ version is " + version + " - skipping BCJ tests"); 47 private File output; field in SevenZOutputFileTest 51 if (output != null && !output.delete()) { in tearDown() 52 output.deleteOnExit(); in tearDown() 59 output = new File(dir, "empties.7z"); in testDirectoriesAndEmptyFiles() 63 cal.add(Calendar.HOUR, -1); in testDirectoriesAndEmptyFiles() 66 try (SevenZOutputFile outArchive = new SevenZOutputFile(output)) { in testDirectoriesAndEmptyFiles() 67 SevenZArchiveEntry entry = outArchive.createArchiveEntry(dir, "foo/"); in testDirectoriesAndEmptyFiles() 85 entry = outArchive.createArchiveEntry(dir, "baz/"); in testDirectoriesAndEmptyFiles() [all …]
|
| /external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
| D | InstrumentTaskTest.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- 7 http://www.eclipse.org/legal/epl-2.0 9 SPDX-License-Identifier: EPL-2.0 12 Marc R. Hoffmann - initial API and implementation 13 --> 18 <tempfile property="temp.dir" prefix="jacocoTest" destdir="${java.io.tmpdir}" /> 19 <mkdir dir="${temp.dir}"/> 20 <property name="exec.file" location="${temp.dir}/exec.file" /> 24 <delete dir="${temp.dir}" quiet="false" failonerror="true"/> [all …]
|
| /external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/ |
| D | default.build | 4 <property name="base.dir" value="${path::get-full-path( project::get-base-directory() )}" /> 17 <property name="src.dir" value="${base.dir}/" /> 18 <property name="test.src.dir" value="${base.dir}/../Antlr3.Runtime.Tests" /> 28 <mkdir dir="${build.working.dir}/tests" /> 32 <!-- Copy Antlr3.Runtime.Tests dependencies --> 33 <copy todir="${build.working.dir}" overwrite="true"> 34 <fileset basedir="${sharedlibrary.dir}/MbUnit"> 40 <copy todir="${build.working.dir}" overwrite="true"> 41 <fileset basedir="${sharedlibrary.dir}/StringTemplate.NET/${target.clr}"> 51 <target name="clean.vsnet" description="cleans up VS.NET build artifacts and output"> [all …]
|
| /external/cronet/url/mojom/ |
| D | url_gurl_mojom_traits_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 40 GURL output; in BounceUrl() local 41 EXPECT_TRUE(url_test_remote_->BounceUrl(input, &output)); in BounceUrl() 42 return output; in BounceUrl() 48 GURL output = BounceUrl(input); in ExpectSerializationRoundtrips() local 52 EXPECT_EQ(input.possibly_invalid_spec(), output.possibly_invalid_spec()); in ExpectSerializationRoundtrips() 53 EXPECT_EQ(input.is_valid(), output.is_valid()); in ExpectSerializationRoundtrips() 54 EXPECT_EQ(input.scheme(), output.scheme()); in ExpectSerializationRoundtrips() 55 EXPECT_EQ(input.username(), output.username()); in ExpectSerializationRoundtrips() 56 EXPECT_EQ(input.password(), output.password()); in ExpectSerializationRoundtrips() [all …]
|
| /external/cronet/url/ipc/ |
| D | url_param_traits_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 GURL output; in BounceUrl() local 21 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); in BounceUrl() 23 return output; in BounceUrl() 29 GURL output = BounceUrl(input); in ExpectSerializationRoundtrips() local 33 EXPECT_EQ(input.possibly_invalid_spec(), output.possibly_invalid_spec()); in ExpectSerializationRoundtrips() 34 EXPECT_EQ(input.is_valid(), output.is_valid()); in ExpectSerializationRoundtrips() 35 EXPECT_EQ(input.scheme(), output.scheme()); in ExpectSerializationRoundtrips() 36 EXPECT_EQ(input.username(), output.username()); in ExpectSerializationRoundtrips() 37 EXPECT_EQ(input.password(), output.password()); in ExpectSerializationRoundtrips() [all …]
|
| /external/libese/apps/ |
| D | build.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (C) 2017 The Android Open Source Project 8 http://www.apache.org/licenses/LICENSE-2.0 15 --> 16 <!-- Ant XML for out of band building all applets using shared exports. --> 19 <!-- Project-wide properties --> 20 <!-- TODO: move to file="build.properties" --> 22 <property name="prereqs.dir" location="${basedir}/prereqs"/> 26 <property name="api.dir" location="${api.root}/apis/jcopx-4.0-R2"/> 30 <property name="ls.dir" location="${build}/loaderservice"/> [all …]
|