Home
last modified time | relevance | path

Searched refs:test_dir (Results 1 – 25 of 268) sorted by relevance

1234567891011

/external/jemalloc_new/android/
Drun_jemalloc_tests.sh103 local test_dir=$1
106 if [[ -d "${test_dir}" ]]; then
109 ${test_dir}/$test
116 FAILING_TESTS+=("${test_dir}/${test}")
132 for test_dir in ${TEST_DIRECTORIES[@]}; do
133 test_dir="${directory}/${test_dir}"
134 if [[ -d "${test_dir}" ]]; then
135 run_tests "unit" "${test_dir}/${UNIT_TEST_DIR}" ${UNIT_TESTS[@]}
136 run_tests "integration" "${test_dir}/${INTEGRATION_TEST_DIR}" ${INTEGRATION_TESTS[@]}
137 run_tests "stress" "${test_dir}/${STRESS_TEST_DIR}" ${STRESS_TESTS[@]}
/external/e2fsprogs/tests/
Dtest_one.in28 test_dir=$1
37 test_name=`echo $test_dir | sed -e 's;.*/;;'`
39 if [ -f $test_dir ] ; then
42 if [ ! -d $test_dir ] ; then
46 if [ -z "`ls $test_dir`" ]; then
49 if [ -f $test_dir/name ]; then
50 test_description=`cat $test_dir/name`
55 if [ -n "$SKIP_SLOW_TESTS" -a -f $test_dir/is_slow_test ]; then
67 if [ -f $test_dir/script ]; then
68 . $test_dir/script
[all …]
Drun_e2fsck5 IMAGE=$test_dir/image.gz
25 if [ -f $test_dir/expect.1.gz ]; then
27 gunzip < $test_dir/expect.1.gz > $EXP1
29 EXP1=$test_dir/expect.1
34 if [ -f $test_dir/expect.2.gz ]; then
36 gunzip < $test_dir/expect.2.gz > $EXP2
38 EXP2=$test_dir/expect.2
77 cmp -s $test_name.0.log $test_dir/expect.0
96 diff $DIFF_OPTS $test_dir/expect.0 \
/external/icing/icing/index/main/
Dposting-list-accessor_test.cc43 std::string test_dir = GetTestTempDir() + "/test_dir"; in TEST() local
44 std::string file_name = test_dir + "/test_file.idx.index"; in TEST()
46 ASSERT_TRUE(filesystem.DeleteDirectoryRecursively(test_dir.c_str())); in TEST()
47 ASSERT_TRUE(filesystem.CreateDirectoryRecursively(test_dir.c_str())); in TEST()
74 std::string test_dir = GetTestTempDir() + "/test_dir"; in TEST() local
75 std::string file_name = test_dir + "/test_file.idx.index"; in TEST()
77 ASSERT_TRUE(filesystem.DeleteDirectoryRecursively(test_dir.c_str())); in TEST()
78 ASSERT_TRUE(filesystem.CreateDirectoryRecursively(test_dir.c_str())); in TEST()
117 std::string test_dir = GetTestTempDir() + "/test_dir"; in TEST() local
118 std::string file_name = test_dir + "/test_file.idx.index"; in TEST()
[all …]
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter_test.py56 test_dir = os.path.join(self.get_temp_dir(), test_name)
57 return test_dir
60 test_dir = self._TestDir(test_name)
61 if os.path.exists(test_dir):
62 shutil.rmtree(test_dir)
63 return test_dir
65 def _EventsReader(self, test_dir): argument
66 event_paths = glob.glob(os.path.join(test_dir, "event*"))
75 def _assertEventsWithGraph(self, test_dir, g, has_shapes): argument
79 rr = self._EventsReader(test_dir)
[all …]
/external/autotest/client/bin/result_tools/
Dshrink_file_throttler_unittest.py51 self.test_dir = tempfile.mkdtemp()
55 build_info = os.path.join(self.test_dir, 'BUILD_INFO-HT7591A00171')
59 file1 = os.path.join(self.test_dir, 'file1.xml')
63 file2 = os.path.join(self.test_dir, 'file2.jpg')
67 file3 = os.path.join(self.test_dir, 'file3.log')
72 file4 = os.path.join(self.test_dir, 'test_run_details.txt')
76 folder1 = os.path.join(self.test_dir, 'folder1')
85 shutil.rmtree(self.test_dir, ignore_errors=True)
89 summary = result_info.ResultInfo.build_from_path(self.test_dir)
117 self.test_dir = tempfile.mkdtemp()
[all …]
Dutils_unittest.py203 self.test_dir = tempfile.mkdtemp()
204 file1 = os.path.join(self.test_dir, 'file1')
206 folder1 = os.path.join(self.test_dir, 'folder1')
213 folder2 = os.path.join(self.test_dir, 'folder2')
223 shutil.rmtree(self.test_dir, ignore_errors=True)
227 summary = result_info.ResultInfo.build_from_path(self.test_dir)
236 self.test_dir = tempfile.mkdtemp() + '/'
237 file1 = os.path.join(self.test_dir, 'file1')
239 file2 = os.path.join(self.test_dir, 'file2')
241 file3 = os.path.join(self.test_dir, 'file3')
[all …]
Dresult_info_unittest.py60 self.test_dir = tempfile.mkdtemp()
64 shutil.rmtree(self.test_dir, ignore_errors=True)
68 summary_file = os.path.join(self.test_dir, 'summary.json')
75 summary_file_new = os.path.join(self.test_dir, 'summary_new.json')
83 self.assertEqual(summary.path, self.test_dir)
85 os.path.join(self.test_dir, 'file1'))
87 os.path.join(self.test_dir, 'folder1', 'file2'))
97 self.assertEqual(new_summary.path, self.test_dir)
99 os.path.join(self.test_dir, 'file1'))
105 os.path.join(self.test_dir, 'folder1', 'file2'))
[all …]
Ddelete_file_throttler_unittest.py63 self.test_dir = tempfile.mkdtemp()
67 file1 = os.path.join(self.test_dir, 'file1.xml')
71 file2 = os.path.join(self.test_dir, 'file2.jpg')
75 file_to_keep = os.path.join(self.test_dir, 'file_to_keep')
79 file3 = os.path.join(self.test_dir, 'file3.log')
83 folder1 = os.path.join(self.test_dir, 'folder1')
93 folder2 = os.path.join(self.test_dir, 'AndroidDeviceXXX')
99 test_run = os.path.join(self.test_dir, 'test_run_details.txt')
103 perf_data = os.path.join(self.test_dir, 'chrome.123.perf.data')
109 shutil.rmtree(self.test_dir, ignore_errors=True)
[all …]
Dzip_file_throttler_unittest.py50 self.test_dir = tempfile.mkdtemp()
54 build_info = os.path.join(self.test_dir, 'BUILD_INFO-x')
58 file1 = os.path.join(self.test_dir, 'file1.xml')
62 file2 = os.path.join(self.test_dir, 'file2.jpg')
66 file3 = os.path.join(self.test_dir, 'file3.log')
70 folder1 = os.path.join(self.test_dir, 'folder1')
78 shutil.rmtree(self.test_dir, ignore_errors=True)
107 summary = result_info.ResultInfo.build_from_path(self.test_dir)
114 parent_dir=self.test_dir, original_info=SUMMARY_AFTER_TRIMMING)
/external/googletest/
Drun_tests.py65 for test_dir in ['gtest_tests', 'gtest_ndk_tests', 'gmock_tests']:
66 test_dir = os.path.join(test_location, test_dir)
67 if not os.path.isdir(test_dir):
68 logger().debug('Skipping %s', test_dir)
71 logger().debug('Scanning %s for tests', test_dir)
72 for test in os.listdir(test_dir):
79 cmd = [os.path.join(test_dir, test)]
83 device_dir = test_dir.replace(os.environ['OUT'], '')
/external/flatbuffers/tests/FlatBuffers.Test.Swift/
DSwiftTest.sh3 test_dir=`pwd`
5 ${test_dir}/../flatc --swift --gen-mutable -I ${test_dir}/include_test ${test_dir}/monster_test.fbs…
6 cd ${test_dir}
/external/vm_tools/p9/src/server/
Dtests.rs372 let mut test_dir = env::var_os("T") in setup() localVariable
375 test_dir.push(name); in setup()
377 let mut os_str = OsString::from(test_dir); in setup()
396 let test_dir = ScopedPath(OsString::from_vec(buf.into_bytes())); in setup() localVariable
431 e.create(&mut Cow::from(&*test_dir)); in setup()
434 let md = test_dir in setup()
438 let mut server = Server::new(&*test_dir, Default::default(), Default::default()) in setup()
463 (test_dir, server) in setup()
509 let (test_dir, mut server) = setup("get_attr"); in get_attr()
511 let md = test_dir in get_attr()
[all …]
/external/icing/icing/
Dicing-search-engine_benchmark.cc206 std::string test_dir = GetTestTempDir() + "/icing/benchmark"; in BM_IndexLatency() local
208 DestructibleDirectory ddir(filesystem, test_dir); in BM_IndexLatency()
221 options.set_base_dir(test_dir); in BM_IndexLatency()
276 std::string test_dir = GetTestTempDir() + "/icing/benchmark"; in BM_IndexThroughput() local
278 DestructibleDirectory ddir(filesystem, test_dir); in BM_IndexThroughput()
291 options.set_base_dir(test_dir); in BM_IndexThroughput()
341 std::string test_dir = GetTestTempDir() + "/icing/benchmark"; in BM_MutlipleIndices() local
343 DestructibleDirectory ddir(filesystem, test_dir); in BM_MutlipleIndices()
361 std::string base_dir = test_dir + "/" + std::to_string(i); in BM_MutlipleIndices()
426 int64_t disk_usage = filesystem.GetDiskUsage(test_dir.c_str()); in BM_MutlipleIndices()
[all …]
/external/webrtc/tools_webrtc/presubmit_checks_lib/
Dcheck_package_boundaries_test.py30 def _RunTest(self, test_dir, check_all_build_files=False): argument
31 build_files = [os.path.join(test_dir, 'BUILD.gn')]
36 for violation in CheckPackageBoundaries(test_dir, build_files):
37 build_file_path = os.path.relpath(violation.build_file_path, test_dir)
41 expected_messages = ReadPylFile(os.path.join(test_dir, 'expected.pyl'))
66 test_dir = os.path.join(TESTDATA_DIR, 'all_build_files')
68 CheckPackageBoundaries(test_dir, ["BUILD.gn"])
/external/pdfium/testing/tools/
Dgold.py255 test_dir = './testdirectory'
256 if not os.path.exists(test_dir):
257 os.makedirs(test_dir)
258 open(os.path.join(test_dir, 'image1.png'), 'wb').close()
259 open(os.path.join(test_dir, 'image2.png'), 'wb').close()
260 open(os.path.join(test_dir, 'image3.png'), 'wb').close()
268 hash_file = os.path.join(test_dir, 'ignore_hashes.txt')
274 gr.AddTestResult('test-1', 'hash-1', os.path.join(test_dir, 'image1.png'),
276 gr.AddTestResult('test-2', 'hash-2', os.path.join(test_dir, 'image2.png'),
278 gr.AddTestResult('test-3', 'hash-3', os.path.join(test_dir, 'image3.png'),
/external/llvm-project/lldb/test/API/arm/emulation/
DTestEmulations.py21 test_dir = os.path.join(self.getSourceDir(), "new-test-files")
22 files = os.listdir(test_dir)
29 test_file = os.path.join(test_dir, f)
34 test_dir = os.path.join(self.getSourceDir(), "new-test-files")
35 files = os.listdir(test_dir)
42 test_file = os.path.join(test_dir, f)
/external/autotest/client/site_tests/enterprise_SmbProviderDaemon/
Denterprise_SmbProviderDaemon.py90 test_dir = '/autotest_' + rand_dir_id + '/'
91 self._check_create_directory(mount_id, test_dir, False)
94 metadata = self._check_get_metadata(mount_id, test_dir)
97 self._check_metadata(test_dir[1:-1], 0, True, metadata)
100 test_file = test_dir + '1.txt'
139 recursive_dir = test_dir + 'test1/test2/'
147 self._check_move_entry(mount_id, test_file2, test_dir, ERROR_EXISTS)
150 self._check_move_entry(mount_id, test_file2, test_dir + 'moved.txt')
153 self._check_move_entry(mount_id, test_dir + 'moved.txt', test_file2)
157 self._check_delete_entry(mount_id, test_dir + 'test1/test2/', False)
[all …]
/external/e2fsprogs/tests/f_convert_bmap/
Dscript5 IMAGE=$test_dir/image.gz
25 if [ -f $test_dir/expect.1.gz ]; then
27 gunzip < $test_dir/expect.1.gz > $EXP1
29 EXP1=$test_dir/expect.1
34 if [ -f $test_dir/expect.2.gz ]; then
36 gunzip < $test_dir/expect.2.gz > $EXP2
38 EXP2=$test_dir/expect.2
80 cmp -s $test_name.0.log $test_dir/expect.0
99 diff $DIFF_OPTS $test_dir/expect.0 \
/external/e2fsprogs/tests/f_extent_too_deep/
Dscript5 IMAGE=$test_dir/image.gz
25 if [ -f $test_dir/expect.1.gz ]; then
27 gunzip < $test_dir/expect.1.gz > $EXP1
29 EXP1=$test_dir/expect.1
34 if [ -f $test_dir/expect.2.gz ]; then
36 gunzip < $test_dir/expect.2.gz > $EXP2
38 EXP2=$test_dir/expect.2
78 cmp -s $test_name.0.log $test_dir/expect.0
97 diff $DIFF_OPTS $test_dir/expect.0 \
/external/e2fsprogs/tests/f_compress_extent_tree_level/
Dscript5 IMAGE=$test_dir/image.gz
25 if [ -f $test_dir/expect.1.gz ]; then
27 gunzip < $test_dir/expect.1.gz > $EXP1
29 EXP1=$test_dir/expect.1
34 if [ -f $test_dir/expect.2.gz ]; then
36 gunzip < $test_dir/expect.2.gz > $EXP2
38 EXP2=$test_dir/expect.2
82 cmp -s $test_name.0.log $test_dir/expect.0
101 diff $DIFF_OPTS $test_dir/expect.0 \
/external/e2fsprogs/tests/f_collapse_extent_tree/
Dscript5 IMAGE=$test_dir/image.gz
25 if [ -f $test_dir/expect.1.gz ]; then
27 gunzip < $test_dir/expect.1.gz > $EXP1
29 EXP1=$test_dir/expect.1
34 if [ -f $test_dir/expect.2.gz ]; then
36 gunzip < $test_dir/expect.2.gz > $EXP2
38 EXP2=$test_dir/expect.2
80 cmp -s $test_name.0.log $test_dir/expect.0
99 diff $DIFF_OPTS $test_dir/expect.0 \
/external/markdown/MarkdownTest/
DMarkdownTest.pl19 my $test_dir = "Tests";
26 "testdir=s" => \$test_dir,
37 unless (-d $test_dir) { die "'$test_dir' is not a directory.\n"; }
45 foreach my $testfile (glob "$test_dir/*.text") {
/external/autotest/site_utils/lxc/
Dcontainer_factory_unittest.py24 cls.test_dir = tempfile.mkdtemp(dir=lxc.DEFAULT_CONTAINER_PATH,
47 utils.run('sudo rm -r %s' % cls.test_dir)
51 self.test_dir = tempfile.mkdtemp(dir=ContainerFactoryTests.test_dir)
54 lxc_path=self.test_dir)
89 dir0 = tempfile.mkdtemp(dir=self.test_dir)
90 dir1 = tempfile.mkdtemp(dir=self.test_dir)
109 lxc_path=self.test_dir,
143 lxc_path=self.test_dir)
182 lxc_path=self.test_dir)
Dbase_image_unittest.py21 test_dir = None variable
52 new_path=test_dir,
75 new_path=test_dir,
118 self.manager = BaseImage(test_dir, lxc.BASE)
160 new_path=test_dir,
176 global test_dir
180 test_dir = tempfile.mkdtemp(dir=lxc.DEFAULT_CONTAINER_PATH,
197 shutil.rmtree(test_dir)

1234567891011