Home
last modified time | relevance | path

Searched full:test_path (Results 1 – 25 of 67) sorted by relevance

123

/external/libchrome/base/files/
Dscoped_temp_dir_unittest.cc16 FilePath test_path; in TEST() local
18 &test_path); in TEST()
21 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
24 EXPECT_TRUE(dir.Set(test_path)); in TEST()
27 EXPECT_FALSE(DirectoryExists(test_path)); in TEST()
31 EXPECT_TRUE(dir.Set(test_path)); in TEST()
33 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
36 EXPECT_EQ(path.value(), test_path.value()); in TEST()
39 EXPECT_TRUE(DirectoryExists(test_path)); in TEST()
44 EXPECT_TRUE(dir.Set(test_path)); in TEST()
[all …]
/external/grpc-grpc/
D.travis.yml12 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
15 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
18 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
22 # WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
25 WORKSPACE="HelloWorld.xcworkspace" TEST_PATH="examples/objective-c/helloworld"
28 WORKSPACE="RouteGuideClient.xcworkspace" TEST_PATH="examples/objective-c/route_guide"
31 WORKSPACE="AuthSample.xcworkspace" TEST_PATH="examples/objective-c/auth_sample"
34 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
37 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
40 WORKSPACE="SwiftSample.xcworkspace" TEST_PATH="src/objective-c/examples/SwiftSample"
[all …]
/external/rust/crates/grpcio-sys/grpc/
D.travis.yml12 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
15 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
18 WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
22 # WORKSPACE="Tests.xcworkspace" TEST_PATH="src/objective-c/tests" BUILD_ONLY="false"
25 WORKSPACE="HelloWorld.xcworkspace" TEST_PATH="examples/objective-c/helloworld"
28 WORKSPACE="RouteGuideClient.xcworkspace" TEST_PATH="examples/objective-c/route_guide"
31 WORKSPACE="AuthSample.xcworkspace" TEST_PATH="examples/objective-c/auth_sample"
34 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
37 WORKSPACE="Sample.xcworkspace" TEST_PATH="src/objective-c/examples/Sample" BUILD_ONLY="true"
40 WORKSPACE="SwiftSample.xcworkspace" TEST_PATH="src/objective-c/examples/SwiftSample"
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/tools/
DTestToolBase.py37 'test_path',
81 options.test_path = os.path.abspath(options.test_path)
82 options.test_path = os.path.normcase(options.test_path)
83 if not os.path.isfile(options.test_path) and not os.path.isdir(options.test_path):
86 options.test_path))
103 if os.path.isdir(options.test_path):
106 r for r, _, f in os.walk(options.test_path)
122 options.source_files = [options.test_path]
123 self._run_test(self._get_test_name(options.test_path))
131 def _get_test_name(self, test_path): argument
[all …]
/external/skqp/tests/
DTessellatingPathRendererTests.cpp636 static void test_path(GrContext* ctx, in test_path() function
683 test_path(ctx, rtc.get(), create_path_0()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
684 test_path(ctx, rtc.get(), create_path_1()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
685 test_path(ctx, rtc.get(), create_path_2()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
686 test_path(ctx, rtc.get(), create_path_3()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
687 test_path(ctx, rtc.get(), create_path_4()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
688 test_path(ctx, rtc.get(), create_path_5()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
689 test_path(ctx, rtc.get(), create_path_6()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
690 test_path(ctx, rtc.get(), create_path_7()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
691 test_path(ctx, rtc.get(), create_path_8()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
DPathRendererCacheTests.cpp71 static void test_path(skiatest::Reporter* reporter, in test_path() function
124 test_path(reporter, create_concave_path, createPR, kExpectedResources);
132 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kNone, style);
145 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage);
153 test_path(reporter, create_concave_path, createPR, kExpectedResources, GrAAType::kCoverage,
DColorSpaceTest.cpp46 static void test_path(skiatest::Reporter* r, const char* path, in test_path() function
77 test_path(r, "images/color_wheel_with_profile.png", g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
83 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
85 test_path(r, "images/webp-color-profile-crash.webp", in DEF_TEST()
87 test_path(r, "images/webp-color-profile-lossless.webp", in DEF_TEST()
89 test_path(r, "images/webp-color-profile-lossy.webp", in DEF_TEST()
91 test_path(r, "images/webp-color-profile-lossy-alpha.webp", in DEF_TEST()
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py41 test_path = '/test/host/file.dat'
46 out = md5sum.CalculateHostMd5Sums(test_path)
76 test_path = '/storage/emulated/legacy/test/file.dat'
83 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
91 test_path = [
103 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
114 test_path = ('/storage/emulated/legacy/test/file%d.dat' % n
125 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
137 test_path = '/storage/emulated/legacy/test/file.dat'
149 out = md5sum.CalculateDeviceMd5Sums(test_path, device)
[all …]
/external/autotest/client/site_tests/platform_SecureEraseFile/
Dplatform_SecureEraseFile.py15 TEST_PATH = '/mnt/stateful_partition/' + PARTITION_TEST_PATH variable
81 self.__write_test_file(TEST_PATH, blocksize, count)
85 res = utils.run('xxd %s' % TEST_PATH)
88 partition = self.__get_partition(TEST_PATH)
91 raise error.TestError('No extents found for ' + TEST_PATH)
93 utils.run('%s %s' % (BINARY, TEST_PATH))
98 if os.path.exists(TEST_PATH):
114 if os.path.exists(TEST_PATH):
115 os.unlink(TEST_PATH)
/external/harfbuzz_ng/test/api/
Dhb-test.h190 hb_test_add_func (const char *test_path, in hb_test_add_func() argument
193 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_func()
200 hb_test_add_func_flavor (const char *test_path, in hb_test_add_func_flavor() argument
204 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_func_flavor()
211 hb_test_add_data_func (const char *test_path, in hb_test_add_data_func() argument
215 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_data_func()
222 hb_test_add_data_func_flavor (const char *test_path, in hb_test_add_data_func_flavor() argument
227 char *path = g_strdup_printf ("%s/%s", test_path, flavor); in hb_test_add_data_func_flavor()
235 hb_test_add_vtable (const char *test_path, in hb_test_add_vtable() argument
242 char *normal_path = hb_test_normalize_path (test_path); in hb_test_add_vtable()
[all …]
/external/autotest/server/cros/dynamic_suite/
Dcontrol_file_getter.py44 def get_control_file_contents(self, test_path): argument
48 @param test_path: the path to the control file.
239 def get_control_file_contents(self, test_path): argument
241 Get the contents of the control file at |test_path|.
247 return utils.read_file(test_path)
250 msg = "Can't retrieve {0}: {1} ({2})".format(test_path,
304 def get_control_file_contents(self, test_path): argument
306 Return the contents of |test_path| from |self._dev_server|.
308 Get the contents of the control file at |test_path| for |self._build| on
311 @return The contents of |test_path|. None on failure.
[all …]
/external/harfbuzz_ng/test/subset/
Dsubset_test_suite.py48 def __init__(self, test_path, definition): argument
49 self.test_path = test_path
56 test_name = os.path.splitext(os.path.basename(self.test_path))[0]
57 data_dir = os.path.join(os.path.dirname(self.test_path), "..")
76 return os.path.dirname(os.path.dirname(self.test_path))
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dgenerated_examples_zip_test.cc64 string test_path = GetParam(); in TEST_P() local
65 string tflite_test_case = test_path + "_tests.txt"; in TEST_P()
66 string tflite_dir = test_path.substr(0, test_path.find_last_of("/")); in TEST_P()
67 string test_name = test_path.substr(test_path.find_last_of('/')); in TEST_P()
/external/rust/crates/nix/test/
Dtest_mount.rs42 let test_path = tempdir.path().join("test"); in test_mount_tmpfs_without_flags_allows_rwx() localVariable
49 .open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
72 File::open(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
79 Command::new(&test_path) in test_mount_tmpfs_without_flags_allows_rwx()
115 let test_path = tempdir.path().join("test"); in test_mount_noexec_disallows_exec() localVariable
121 .open(&test_path) in test_mount_noexec_disallows_exec()
126 let mode = stat::Mode::from_bits_truncate(fs::metadata(&test_path) in test_mount_noexec_disallows_exec()
134 &test_path); in test_mount_noexec_disallows_exec()
138 Command::new(&test_path).status().unwrap_err().raw_os_error().unwrap()); in test_mount_noexec_disallows_exec()
/external/ltp/testcases/kernel/syscalls/statvfs/
Dstatvfs01.c33 #define TEST_PATH "/" macro
54 TEST(statvfs(TEST_PATH, &buf)); in main()
58 TEST_PATH); in main()
60 tst_resm(TPASS, "statvfs(%s, ...) passed", TEST_PATH); in main()
67 TEST_PATH); in main()
/external/antlr/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb15 attr_accessor :test_path accessor
18 File.basename( test_path, '.rb' )
22 File.dirname( test_path )
159 klass.test_path = call_stack[ 0 ].file
166 def test_path method in ANTLR3.Test.Functional
167 self.class.test_path
/external/fonttools/Snippets/
Dchecksum.py85 test_path = line_list[1]
90 if not os.path.exists(test_path):
91 print(test_path + ": Filepath is not valid, ignored")
93 file_contents = _read_binary(test_path)
96 print(test_path + ": OK")
99 print(test_path + ": === FAIL ===")
/external/tensorflow/tensorflow/tools/ci_build/builds/
Dpy_test_delegate.sh20 # Usage: test_delegate.sh <PYTHON_BIN_PATH> <TEST_PATH> <TEST_LOG>
23 TEST_PATH=$2
32 TEST_DIR=$(dirname ${TEST_PATH})
37 ${PYTHON_BIN_PATH} ${TEST_PATH} >${TEST_LOG} 2>&1
/external/llvm-project/llvm/utils/
Dupdate_mca_test_checks.py265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument
305 test_path)
434 def _write_output(test_path, input_lines, prefix_list, block_infos, # noqa argument
527 common.debug('Writing', len(output_lines), 'lines to', test_path, '..\n\n')
529 with open(test_path, 'wb') as f:
535 for test_path in test_paths:
536 sys.stderr.write('Test: {}\n'.format(test_path))
543 if not os.path.isfile(test_path):
544 raise Error('could not find test file: {}'.format(test_path))
546 with open(test_path) as f:
[all …]
/external/skia/tests/
DPathRendererCacheTests.cpp74 static void test_path(skiatest::Reporter* reporter, in test_path() function
143 test_path(reporter, create_concave_path, createPR, kExpectedResources, false);
151 test_path(reporter, create_concave_path, createPR, kExpectedResources, false, GrAAType::kNone,
165 test_path(reporter, create_concave_path, createPR, kExpectedResources, true,
174 test_path(reporter, create_concave_path, createPR, kExpectedResources, true,
DColorSpaceTest.cpp47 static void test_path(skiatest::Reporter* r, const char* path, in test_path() function
78 test_path(r, "images/color_wheel_with_profile.png", g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
84 test_path(r, "images/icc-v2-gbr.jpg", red, green, blue); in DEF_TEST()
86 test_path(r, "images/webp-color-profile-crash.webp", in DEF_TEST()
88 test_path(r, "images/webp-color-profile-lossless.webp", in DEF_TEST()
90 test_path(r, "images/webp-color-profile-lossy.webp", in DEF_TEST()
92 test_path(r, "images/webp-color-profile-lossy-alpha.webp", in DEF_TEST()
DTriangulatingPathRendererTests.cpp710 static void test_path(GrRecordingContext* rContext, in test_path() function
756 test_path(ctx, rtc.get(), createPath()); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
760 test_path(ctx, rtc.get(), create_path_17(), nonInvertibleMatrix, GrAAType::kCoverage, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
762 test_path(ctx, rtc.get(), create_path_20(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
763 test_path(ctx, rtc.get(), create_path_21(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
764 test_path(ctx, rtc.get(), create_path_25(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
765 test_path(ctx, rtc.get(), create_path_26(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
766 test_path(ctx, rtc.get(), create_path_27(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
767 test_path(ctx, rtc.get(), create_path_28(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
768 test_path(ctx, rtc.get(), create_path_31(), SkMatrix(), GrAAType::kCoverage); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Drun_tests.sh86 test_path=$(echo $target | tr : /)
87 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
97 test_path=$(echo $target | tr : /)
98 exec_path=bazel-bin/$(echo $test_path | cut -c 3-)
/external/ltp/scripts/tests/
Dtest_abspath.sh25 TEST_PATH=$("$SCRIPTS_DIR/realpath.sh" "$SCRIPTS_DIR/lib")
27 pushd "$TEST_PATH" >/dev/null
53 ..:$(dirname "$TEST_PATH") \
54 ../..:$(dirname "$(dirname "$TEST_PATH")") \
/external/llvm-project/lldb/scripts/
Duse_lldb_suite.py14 test_path = os.path.join(lldb_root, "use_lldb_suite_root.py")
15 if os.path.isfile(test_path):

123