Home
last modified time | relevance | path

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

12345678

/external/e2fsprogs/tests/
Dtest_one.in22 test_dir=$1
31 test_name=`echo $test_dir | sed -e 's;.*/;;'`
36 if [ -f $test_dir ] ; then
39 if [ ! -d $test_dir ] ; then
43 if [ -z "`ls $test_dir`" ]; then
46 if [ -f $test_dir/name ]; then
47 test_description=`cat $test_dir/name`
55 if [ -f $test_dir/script ]; then
56 . $test_dir/script
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/autotest/client/bin/result_tools/
Dutils_unittest.py169 self.test_dir = tempfile.mkdtemp()
170 file1 = os.path.join(self.test_dir, 'file1')
172 folder1 = os.path.join(self.test_dir, 'folder1')
179 folder2 = os.path.join(self.test_dir, 'folder2')
189 shutil.rmtree(self.test_dir, ignore_errors=True)
194 self.test_dir + '/', self.test_dir + '/')
203 self.test_dir = tempfile.mkdtemp() + '/'
204 file1 = os.path.join(self.test_dir, 'file1')
206 file2 = os.path.join(self.test_dir, 'file2')
208 file3 = os.path.join(self.test_dir, 'file3')
[all …]
/external/jemalloc/android/test/
Drun_jemalloc_tests.sh86 local test_dir=$1
89 if [[ -d "${test_dir}" ]]; then
92 ${test_dir}/$test
107 for test_dir in ${TEST_DIRECTORIES[@]}; do
108 if [[ -d "${test_dir}" ]]; then
109 run_tests "unit" "${test_dir}/${UNIT_TEST_DIR}" ${UNIT_TESTS[@]}
110 run_tests "integration" "${test_dir}/${INTEGRATION_TEST_DIR}" ${INTEGRATION_TESTS[@]}
/external/autotest/server/site_tests/brillo_ADBDirectoryTransfer/
Dbrillo_ADBDirectoryTransfer.py33 self.test_dir = os.path.join(self.temp_dir, 'test_dir')
34 os.mkdir(self.test_dir)
35 os.mkdir(os.path.join(self.test_dir, 'subdir'))
37 with open(os.path.join(self.test_dir, 'file_a'), 'w') as f:
40 with open(os.path.join(self.test_dir, 'file_b'), 'w') as f:
43 with open(os.path.join(self.test_dir, 'subdir', 'file_c'), 'w') as f:
56 host.send_file(self.test_dir, device_temp_dir, delete_dest=True)
60 original = os.path.join(self.test_dir, path)
/external/lisa/libs/utils/
Dresults.py56 test_dir = self.results_dir + '/' + test_idx
57 if not os.path.isdir(test_dir):
60 test = TestFactory.get(test_idx, test_dir, self.results)
75 def __init__(self, test_idx, test_dir, res): argument
77 self.test_dir = test_dir
79 match = TEST_DIR_RE.search(test_dir)
82 self._log.error('Skip parsing of test results [%s]', test_dir)
111 for run_idx in sorted(os.listdir(self.test_dir)):
114 run_dir = os.path.join(self.test_dir, run_idx)
145 def get(test_idx, test_dir, res): argument
[all …]
/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/client/site_tests/security_ChromiumOSLSM/
Dsecurity_ChromiumOSLSM.py39 test_dir = '/tmp/chromium_lsm_test_dir'
40 os.mkdir(test_dir, 0700)
42 mnt_target = '%s/mount_point' % (test_dir)
45 sym_target = '%s/symlink' % (test_dir)
56 utils.system('rm -rf ' + test_dir)
/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
83 cmp -s $test_name.0.log $test_dir/expect.0
102 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
83 cmp -s $test_name.0.log $test_dir/expect.0
102 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
83 cmp -s $test_name.0.log $test_dir/expect.0
102 diff $DIFF_OPTS $test_dir/expect.0 \
/external/e2fsprogs/tests/f_convert_bmap_and_extent/
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
84 cmp -s $test_name.0.log $test_dir/expect.0
103 diff $DIFF_OPTS $test_dir/expect.0 \
/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
82 cmp -s $test_name.0.log $test_dir/expect.0
101 diff $DIFF_OPTS $test_dir/expect.0 \
/external/python/cpython2/Lib/test/
Dtest_pkgimport.py20 self.test_dir = tempfile.mkdtemp()
21 sys.path.append(self.test_dir)
22 self.package_dir = os.path.join(self.test_dir,
33 os.rmdir(self.test_dir)
34 self.assertNotEqual(sys.path.count(self.test_dir), 0)
35 sys.path.remove(self.test_dir)
/external/flatbuffers/tests/
DPythonTest.sh18 test_dir="$(pwd)"
19 gen_code_path=${test_dir}
20 runtime_library_dir=${test_dir}/../python
23 ${test_dir}/../flatc -p -o ${gen_code_path} monster_test.fbs
DGoTest.sh18 test_dir="$(pwd)"
19 go_path=${test_dir}/go_gen
45 --cpp_data=${test_dir}/monsterdata_test.mon \
46 --out_data=${test_dir}/monsterdata_go_wire.mon \
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir02.c66 DIR *test_dir; in main() local
77 if ((test_dir = opendir(".")) == NULL) { in main()
81 if (closedir(test_dir) < 0) { in main()
86 dptr = readdir(test_dir); in main()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dtempfile_ext_unittest.py36 test_dir = '/baz'
37 self.fs.CreateDirectory(test_dir)
38 with tempfile_ext.NamedTemporaryDirectory(dir=test_dir) as d:
39 self.assertEquals(test_dir, os.path.dirname(d))
/external/valgrind/tests/
Dpost_regtest_checks17 test_dir="$abs_top_srcdir/tests"
25 $test_dir/check_makefile_consistency "$@"
33 $test_dir/check_headers_and_includes "$abs_top_srcdir"
/external/e2fsprogs/tests/j_ext_dumpe2fs/
Dscript3 if [ -f $test_dir/expect.gz ]; then
5 gunzip < $test_dir/expect.gz > $EXP1
7 EXP=$test_dir/expect
12 gunzip < $test_dir/image.gz > $TMPFILE
/external/e2fsprogs/tests/j_corrupt_ext_jnl_sb_block/
Dscript3 if [ -f $test_dir/expect.gz ]; then
5 gunzip < $test_dir/expect.gz > $EXP1
7 EXP=$test_dir/expect
12 bzip2 -dc < $test_dir/image.tar.bz2 | tar xf -
/external/e2fsprogs/tests/f_readonly_fsck/
Dscript3 if [ -f $test_dir/expect.gz ]; then
5 gunzip < $test_dir/expect.gz > $EXP1
7 EXP=$test_dir/expect
14 gzip -d < $test_dir/image.gz > $TMPFILE
/external/elfutils/tests/
Dtest-subr.sh26 test_dir="test-$$"
27 mkdir -p "$test_dir"
28 cd "$test_dir"
38 rm -f $remove_files; cd ..; rmdir $test_dir
/external/pdfium/testing/tools/
Dtest_runner.py41 self.test_dir = dirname
173 if self.test_dir != 'corpus':
174 test_dir = finder.TestingDir(os.path.join('resources', self.test_dir))
176 test_dir = finder.TestingDir(self.test_dir)
184 self.working_dir = finder.WorkingDir(os.path.join('testing', self.test_dir))
193 walk_from_dir = finder.TestingDir(test_dir);
/external/e2fsprogs/tests/f_dup_de/
Dscript4 gunzip < $test_dir/image.gz > $TMPFILE
8 EXP1=$test_dir/expect-nohtree.1
9 EXP2=$test_dir/expect-nohtree.2

12345678