Home
last modified time | relevance | path

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

12345

/external/bc/tests/
Dstdin.sh34 testdir=$(dirname "$script")
36 . "$testdir/../functions.sh"
42 cat "$testdir/all.txt"
54 exe="$testdir/../bin/$d"
57 out="$testdir/${d}_outputs/stdin_results.txt"
76 cat "$testdir/$d/stdin.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null
77 checktest "$d" "$?" "stdin" "$testdir/$d/stdin_results.txt" "$out"
81 cat "$testdir/$d/stdin1.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null
82 checktest "$d" "$?" "stdin" "$testdir/$d/stdin1_results.txt" "$out"
84 cat "$testdir/$d/stdin2.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null
[all …]
Dall.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
73 exe="$testdir/../bin/$d"
107 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@"
109 done < "$testdir/$d/all.txt"
111 sh "$testdir/stdin.sh" "$d" "$exe" "$@"
113 sh "$testdir/scripts.sh" "$d" "$extra" "$run_stack_tests" "$generate_tests" \
115 sh "$testdir/read.sh" "$d" "$exe" "$@"
116 sh "$testdir/errors.sh" "$d" "$exe" "$@"
118 sh "$testdir/other.sh" "$d" "$exe" "$@"
Dtest.sh34 testdir=$(dirname "$script")
36 . "$testdir/../functions.sh"
42 cat "$testdir/all.txt"
51 name="$testdir/$d/$t.txt"
52 results="$testdir/$d/${t}_results.txt"
73 exe="$testdir/../bin/$d"
76 out="$testdir/${d}_outputs/${t}_results.txt"
106 "$testdir/$d/scripts/$t.$d" > "$name"
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/${d}_outputs/read_results.txt"
Dother.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
45 exe="$testdir/../bin/$d"
148 easter_res="$testdir/dc_outputs/easter.txt"
149 easter_out="$testdir/dc_outputs/easter_results.txt"
159 "$testdir/dc/scripts/easter.sh" "$exe" 2021 | head -c12 > "$easter_out"
170 out1="$testdir/../.log_$d.txt"
171 out2="$testdir/../.log_${d}_test.txt"
193 f="$testdir/$d/add.txt"
195 results=$(cat "$testdir/$d/add_results.txt")
[all …]
Dscript.sh34 testdir=$(dirname "${script}")
36 . "$testdir/../functions.sh"
81 exe="$testdir/../bin/$d"
99 scriptdir="$testdir/$d/scripts"
123 out="$testdir/${d}_outputs/${name}_script_results.txt"
136 orig="$testdir/$name.txt"
Derrors.sh33 testdir=$(dirname "$script")
35 . "$testdir/../functions.sh"
46 exe="$testdir/../bin/$d"
57 out="$testdir/${d}_outputs/errors_results.txt"
79 for testfile in $testdir/$d/*errors.txt; do
122 for testfile in $testdir/$d/errors/*.txt; do
Ddiff.sh34 testdir=$(dirname "$script")
40 cat "$testdir/all.txt"
51 exec diff "$testdir/$d/${t}_results.txt" "$testdir/${d}_outputs/${t}_results.txt"
Dscripts.sh34 testdir=$(dirname "${script}")
76 exe="$testdir/../bin/$d"
79 scriptdir="$testdir/$d/scripts"
86 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \
Dafl.py97 testdir = os.path.dirname(script) variable
125 resultsdir = testdir + "/fuzzing/bc_outputs1"
127 resultsdir = testdir + "/fuzzing/bc_outputs2"
129 resultsdir = testdir + "/fuzzing/bc_outputs3"
131 resultsdir = testdir + "/fuzzing/dc_outputs"
138 exe = testdir + "/../bin/" + exe_name(exedir)
156 out = testdir + "/../.test.txt"
/external/flatbuffers/tests/
DJavaTest.sh23 testdir=$(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 )
DKotlinTest.sh19 testdir=$(dirname $0)
20 targetdir="${testdir}/kotlin"
29 if ! find "${testdir}/../java" -type f -name "*.class" -delete; then
37 javac ${testdir}/../java/com/google/flatbuffers/*.java -d $targetdir
41 jar cvf ${testdir}/kotlin_test.jar -C $targetdir . > /dev/null
43 kotlin -cp ${testdir}/kotlin_test.jar KotlinTest
46 rm ${testdir}/kotlin_test.jar
/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/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/bc/tests/bc/
Dtimeconst.sh33 testdir=$(dirname "$script")
39 timeconst="$testdir/scripts/timeconst.bc"
46 bc="$testdir/../../bin/bc"
49 out1="$testdir/../.log_bc_timeconst.txt"
50 out2="$testdir/../.log_bc_timeconst_test.txt"
/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/llvm-project/lldb/packages/Python/lldbsuite/test/builders/
Dbuilder.py135 testdir=None, argument
140 self.getMake(testdir, testname) + [
161 testdir=None, argument
166 self.getMake(testdir, testname) + [
186 testdir=None, argument
191 self.getMake(testdir, testname) + [
211 testdir=None, argument
216 self.getMake(testdir, testname) + [
236 testdir=None, argument
/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/
Dyc6 echo testdir/$i:
7 ind <testdir/$i
8 a.out -f testdir/$i >drek.c
11 cd testdir

12345