Home
last modified time | relevance | path

Searched refs:testdir (Results 1 – 25 of 64) sorted by relevance

123

/external/toybox/scripts/
Dtest.sh8 rm -rf generated/testdir
9 mkdir -p generated/testdir/testdir
15 PREFIX=generated/testdir/ scripts/single.sh "$@" || exit 1
17 make install_flat PREFIX=generated/testdir || exit 1
21 cd generated/testdir
23 cd testdir
60 rm -rf testdir && mkdir testdir && cd testdir || exit 1
/external/libpng/contrib/libtests/
Dgentests.sh34 testdir="tests"
36 testdir="$1"
42 if test -e "$testdir"
44 test -d "$testdir" || usage
47 mkdir "$testdir" 2>/dev/null || mkdir -p "$testdir" || usage
51 cd "$testdir"
54 echo "$testdir: directory not writable"
59 echo "$testdir: you have create but not write privileges here."
/external/flatbuffers/tests/
DJavaTest.sh23 testdir="$(readlink -fn "$(dirname "$0")")"
25 targetdir="${testdir}/target"
34 if ! find "${testdir}/../java" -type f -name "*.class" -delete; then
39 javac -d "${targetdir}" -classpath "${testdir}/../java:${testdir}:${testdir}/namespace_test" "${tes…
41 (cd "${testdir}" && java -classpath "${targetdir}" JavaTest )
/external/autotest/site_utils/
Dgenerate_test_report87 def _CollectPerf(self, testdir): argument
97 return self._CollectKeyval(testdir, 'perf')
99 def _CollectAttr(self, testdir): argument
109 return self._CollectKeyval(testdir, 'attr')
111 def _CollectKeyval(self, testdir, keyword): argument
127 keyval_file = os.path.join(testdir, 'results', 'keyval')
182 def _CollectInfo(self, testdir, custom_info): argument
202 sysinfo_dir = os.path.join(testdir, 'sysinfo', 'var', 'log')
260 def _CheckExperimental(self, testdir): argument
269 keyval_file = os.path.join(testdir, 'keyval')
[all …]
/external/toybox/tests/
Dchown.test20 rm -rf testdir &&
21 mkdir testdir &&
22 touch testdir/file
23 F=testdir/file
41 rm -rf testdir
Dchgrp.test18 rm -rf testdir &&
19 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
20 touch testdir/dir/file &&
21 ln -s ../dir/dir testdir/dir2/dir &&
22 ln -s ../dir/file testdir/dir2/file || exit 1
102 rm -rf testdir
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_regression_test.sh86 rmdir ${root_cpuset_dir}/testdir
114 ROD_SILENT mkdir ${root_cpuset_dir}/testdir
117 echo 1 > ${root_cpuset_dir}/testdir/${cpu_exclusive}
125 ${root_cpuset_dir}/testdir/${cpu_exclusive})
132 echo 0-1 > ${root_cpuset_dir}/testdir/${cpus}
138 local cpus_value=$(cat ${root_cpuset_dir}/testdir/${cpus})
/external/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp-test-cr-lf9 testdir="$srcdir/glsl/glcpp/tests"
12 testdir=.
87 for file in "$testdir"/*.c; do
92 ${glcpp_test} --testdir=subtest-lf >/dev/null 2>&1
99 for file in "$testdir"/*.c; do
112 for file in "$testdir"/*.c; do
126 for file in "$testdir"/*.c; do
Dglcpp-test4 testdir=$srcdir/glsl/glcpp/tests
8 testdir=.
/external/autotest/client/tests/bash_shared_mapping/
Dbash_shared_mapping.py21 def execute(self, testdir = None, iterations = 10000): argument
22 if not testdir:
23 testdir = self.tmpdir
24 os.chdir(testdir)
25 file = os.path.join(testdir, 'foo')
/external/ltp/testcases/kernel/syscalls/utils/
Dcommon_j_h.c148 int setup_file(char *testdir, char *fname, char *path) in setup_file() argument
150 return _setup_file(testdir, fname, path, in setup_file()
154 int _setup_file(char *testdir, char *fname, char *path, int flags, mode_t mode) in _setup_file() argument
158 sprintf(path, "%s/%s", testdir, fname); in _setup_file()
178 int setup_swapfile(char *testdir, char *fname, char *path, size_t size) in setup_swapfile() argument
186 sprintf(path, "%s/%s", testdir, fname); in setup_swapfile()
Dinclude_j_h.h131 int _setup_file(char *testdir, char *fname, char *path, int flags, mode_t mode);
132 int setup_file(char *testdir, char *fname, char *path);
135 int setup_swapfile(char *testdir, char *fname, char *path, size_t size);
/external/autotest/client/bin/
Dsetup_job.py42 def init_test(options, testdir): argument
55 locals_dict['testdir'] = testdir
60 test_name = os.path.split(testdir)[-1]
68 sys.path.insert(0, testdir)
112 testdir = os.path.join(os.environ['AUTODIR'], test_base_dir)
113 for test_name in sorted(os.listdir(testdir)):
114 client_test = init_test(options, os.path.join(testdir, test_name))
/external/autotest/client/tests/fsstress/
Dfsstress.py23 def run_once(self, testdir = None, extra_args = '', nproc = '1000', nops = '1000'): argument
24 if not testdir:
25 testdir = self.tmpdir
27 args = '-d %s -p %s -n %s %s' % (testdir, nproc, nops, extra_args)
/external/ltp/testcases/network/nfsv4/acl/
Druntest10 ACLTESTDIR=testdir
56 mkdir $NFSMNTDIR/lacl-testdir
57 python test_long_acl.py -l $MAXLENGTH -p $NFSMNTDIR/lacl-testdir
58 rm -rf $NFSMNTDIR/lacl-testdir
Dtest_acl.py18 u = commands.getoutput('mkdir ' + path + "/" + testdir)
19 u = commands.getoutput('getfacl ' + path + "/" + testdir)
27 u = commands.getoutput('touch ' + path + "/" + testdir + testfile)
29 u = commands.getoutput('getfacl ' + path + "/" + testdir + testfile)
/external/autotest/client/tests/spew/
Dspew.py22 def run_once(self, testdir = None, filesize='100M', type='write', argument
25 if not testdir:
26 testdir = self.tmpdir
27 tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid())
/external/autotest/client/tests/connectathon/
Dconnectathon.py36 def run_once(self, testdir=None, args='', cthon_iterations=1): argument
42 if testdir is None:
43 testdir = self.tmpdir
54 (cthon_iterations, args, testdir))
/external/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat01.c89 static char testdir[256]; in setup_iteration() local
93 sprintf(testdir, "mkdirattestdir%d_%d", getpid(), i); in setup_iteration()
99 SAFE_MKDIR(cleanup, testdir, 0700); in setup_iteration()
100 dir_fd = SAFE_OPEN(cleanup, testdir, O_DIRECTORY); in setup_iteration()
/external/ltp/testcases/kernel/syscalls/chdir/
Dchdir01.c67 char testdir[40] = ""; variable
86 SAFE_CHDIR(cleanup, testdir); in main()
149 sprintf(testdir, "Testdir.%d", getpid()); in setup()
151 SAFE_MKDIR(cleanup, testdir, 0700); in setup()
/external/autotest/client/tests/synctest/
Dsynctest.py19 def run_once(self, len, loop, testdir=None): argument
22 if testdir:
23 os.chdir(testdir)
/external/ltp/testcases/kernel/fs/fs_readonly/
Dtest_robind.sh139 testdir() function
237 testdir dir1 $fstype false
238 testdir dir2-bound $fstype false
239 testdir dir3-ro $fstype true
/external/python/cpython2/Lib/test/
Dtest_traceback.py76 testdir = tempfile.mkdtemp()
78 sys.path.insert(0, testdir)
79 testfile = os.path.join(testdir, 'test_bug737473.py')
113 for f in os.listdir(testdir):
114 os.unlink(os.path.join(testdir, f))
115 os.rmdir(testdir)
/external/python/cpython3/Lib/test/libregrtest/
Druntest.py61 def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS): argument
63 testdir = findtestdir(testdir)
64 names = os.listdir(testdir)
144 if test.startswith('test.') or ns.testdir:
/external/python/cpython2/Lib/distutils/tests/
Dtest_build_py.py76 testdir = os.path.join(sources, "doc")
77 os.mkdir(testdir)
78 open(os.path.join(testdir, "testfile"), "w").close()

123