Home
last modified time | relevance | path

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

1234

/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/bc/tests/
Dall.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
73 exe="$testdir/../bin/$d"
101 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@"
103 done < "$testdir/$d/all.txt"
105 sh "$testdir/stdin.sh" "$d" "$exe" "$@"
107 sh "$testdir/scripts.sh" "$d" "$run_stack_tests" "$generate_tests" "$time_tests" "$exe" "$@"
108 sh "$testdir/read.sh" "$d" "$exe" "$@"
109 sh "$testdir/errors.sh" "$d" "$exe" "$@"
161 out1="$testdir/../.log_$d.txt"
[all …]
Dread.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
41 cat "$testdir/all.txt"
53 exe="$testdir/../bin/$d"
56 name="$testdir/$d/read.txt"
57 results="$testdir/$d/read_results.txt"
58 errors="$testdir/$d/read_errors.txt"
60 out="$testdir/../.log_${d}_test.txt"
Dstdin.sh34 testdir=$(dirname "$script")
40 cat "$testdir/all.txt"
52 exe="$testdir/../bin/$d"
55 out="$testdir/../.log_${d}_test.txt"
67 cat "$testdir/$d/stdin.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null
69 diff "$testdir/$d/stdin_results.txt" "$out"
Dtest.sh34 testdir=$(dirname "$script")
40 cat "$testdir/all.txt"
49 name="$testdir/$d/$t.txt"
50 results="$testdir/$d/${t}_results.txt"
71 exe="$testdir/../bin/$d"
74 out="$testdir/../.log_${d}_test.txt"
102 "$testdir/$d/scripts/$t.$d" > "$name"
Derrors.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
46 exe="$testdir/../bin/$d"
52 out="$testdir/../.log_${d}_test.txt"
69 for testfile in $testdir/$d/*errors.txt; do
112 for testfile in $testdir/$d/errors/*.txt; do
Dscript.sh34 testdir=$(dirname "${script}")
72 exe="$testdir/../bin/$d"
75 out="$testdir/../.log_${d}_test.txt"
92 scriptdir="$testdir/$d/scripts"
110 orig="$testdir/$name.txt"
Dscripts.sh34 testdir=$(dirname "${script}")
69 exe="$testdir/../bin/$d"
72 scriptdir="$testdir/$d/scripts"
77 sh "$testdir/script.sh" "$d" "$f" "$run_stack_tests" "$generate" "$time_tests" "$exe" "$@"
/external/bc/tests/bc/
Dtimeconst.sh35 testdir=$(dirname "$script")
41 timeconst="$testdir/scripts/timeconst.bc"
48 bc="$testdir/../../bin/bc"
51 out1="$testdir/../.log_bc_timeconst.txt"
52 out2="$testdir/../.log_bc_timeconst_test.txt"
/external/toybox/tests/
Dchown.test22 rm -rf testdir &&
23 mkdir testdir &&
24 touch testdir/file
25 F=testdir/file
43 rm -rf testdir
Dchgrp.test19 rm -rf testdir &&
20 mkdir -p testdir/dir/dir/dir testdir/dir2 &&
21 touch testdir/dir/file &&
22 ln -s ../dir/dir testdir/dir2/dir &&
23 ln -s ../dir/file testdir/dir2/file || exit 1
103 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/site_utils/
Dgenerate_test_report77 def _CollectPerf(self, testdir): argument
87 return self._CollectKeyval(testdir, 'perf')
89 def _CollectAttr(self, testdir): argument
99 return self._CollectKeyval(testdir, 'attr')
101 def _CollectKeyval(self, testdir, keyword): argument
117 keyval_file = os.path.join(testdir, 'results', 'keyval')
172 def _CollectInfo(self, testdir, custom_info): argument
192 sysinfo_dir = os.path.join(testdir, 'sysinfo', 'var', 'log')
250 def _CheckExperimental(self, testdir): argument
259 keyval_file = os.path.join(testdir, 'keyval')
[all …]
/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/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/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/one-true-awk/testdir/
Dxc6 echo testdir/$i:
7 ind <testdir/$i
8 a.out -f testdir/$i >drek.c
11 cd testdir
Dyc6 echo testdir/$i:
7 ind <testdir/$i
8 a.out -f testdir/$i >drek.c
11 cd testdir
/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/ltp/testcases/network/nfsv4/acl/
Druntest10 ACLTESTDIR=testdir
56 mkdir $NFSMNTDIR/lacl-testdir
57 python3 test_long_acl.py -l $MAXLENGTH -p $NFSMNTDIR/lacl-testdir
58 rm -rf $NFSMNTDIR/lacl-testdir
/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))

1234