Home
last modified time | relevance | path

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

123

/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 …-d "${targetdir}" -classpath "${testdir}/../java:${testdir}:${testdir}/namespace_test:${testdir}/u…
41 (cd "${testdir}" && java -classpath "${targetdir}" JavaTest )
/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/toybox/scripts/
Dtest.sh11 rm -rf generated/testdir
12 mkdir -p generated/testdir/testdir
18 PREFIX=generated/testdir/ scripts/single.sh "$@" || exit 1
20 make install_flat PREFIX=generated/testdir || exit 1
24 cd generated/testdir
34 cd "$TESTDIR" && rm -rf testdir && mkdir testdir && cd testdir || exit 1
/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/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/one-true-awk/
DREGRESS13 if [ -d testdir ]
18 echo extracting testdir
21 echo $0: No testdir directory and no awktest.tar to extract it from! >&2
25 cd testdir
/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()
/external/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp-test-cr-lf.sh16 testdir="$srcdir/glsl/glcpp/tests"
90 for file in "$testdir"/*.c; do
95 ${glcpp_test} --testdir=subtest-lf >/dev/null 2>&1
102 for file in "$testdir"/*.c; do
115 for file in "$testdir"/*.c; do
129 for file in "$testdir"/*.c; do
/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.py19 u = subprocess.getoutput('mkdir ' + path + "/" + testdir)
20 u = subprocess.getoutput('getfacl ' + path + "/" + testdir)
28 u = subprocess.getoutput('touch ' + path + "/" + testdir + testfile)
30 u = subprocess.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/google-fruit/extras/scripts/
Dtest_coverage.sh20 for testdir in $(find ../tests -type d)
22 for t in $(cd $testdir; ls -1 *.cpp | fgrep -v include_test.cpp)
24 fgrep -q expect-compile-error $testdir/"$t" || \
25 "${COMPILE_COMMAND[@]}" $testdir/"$t" ${FRUIT_OBJS[@]} -o binaries/${t/.cpp/} &
/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/python/cpython2/Lib/test/
Dregrtest.py336 def main(tests=None, testdir=None, verbose=0, quiet=False, argument
484 testdir = a
504 if testdir:
505 testdir = os.path.abspath(testdir)
509 sys.path.insert(0, testdir)
532 if testdir:
533 kwargs['testdir'] = testdir
606 alltests = findtests(testdir, stdtests, nottests)
621 list_cases(testdir, selected, match_tests)
754 if testdir:
[all …]
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/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/cpython3/Lib/test/libregrtest/
Druntest.py63 def findtests(testdir=None, stdtests=STDTESTS, nottests=NOTTESTS): argument
65 testdir = findtestdir(testdir)
66 names = os.listdir(testdir)
77 if test.startswith('test.') or ns.testdir:

123