/aosp_15_r20/external/bc/tests/ |
H A D | all.sh | 31 testdir=$(dirname "$script") 33 . "$testdir/../scripts/functions.sh" 115 exe="$testdir/../bin/$d" 140 extra_required=$(cat "$testdir/extra_required.txt") 158 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@" & 161 sh "$testdir/test.sh" "$d" "$t" "$generate_tests" "$time_tests" "$exe" "$@" 164 done < "$testdir/$d/all.txt" 168 sh "$testdir/stdin.sh" "$d" "$exe" "$@" & 171 sh "$testdir/stdin.sh" "$d" "$exe" "$@" 176 sh "$testdir/scripts.sh" "$d" "$extra" "$run_stack_tests" "$generate_tests" \ [all …]
|
H A D | stdin.sh | 34 testdir=$(dirname "$script") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 50 cat "$testdir/all.txt" 69 exe="$testdir/../bin/$d" 101 cat "$testdir/$d/stdin.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null 102 checktest "$d" "$?" "stdin" "$testdir/$d/stdin_results.txt" "$out" 107 cat "$testdir/$d/stdin1.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null 108 checktest "$d" "$?" "stdin1" "$testdir/$d/stdin1_results.txt" "$out" 110 cat "$testdir/$d/stdin2.txt" | "$exe" "$@" "$options" > "$out" 2> /dev/null [all …]
|
H A D | other.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 66 exe="$testdir/../bin/$d" 207 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/misc1.txt" > "$multiline_expr_out" 210 checktest "$d" "$err" "multiline comment in expression file" "$testdir/bc/misc1_results.txt" \ 216 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/errors/05.txt" 2> "$multiline_expr_out" 226 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/strings.txt" > "$multiline_expr_out" 229 checktest "$d" "$err" "multiline string in expression file" "$testdir/bc/strings_results.txt" \ 235 printf 'halt\n' 2> /dev/null | "$exe" "$@" -f "$testdir/bc/errors/16.txt" 2> "$multiline_expr_out" [all …]
|
H A D | test.sh | 34 testdir=$(dirname "$script") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 50 cat "$testdir/all.txt" 67 name="$testdir/$d/$t.txt" 68 results="$testdir/$d/${t}_results.txt" 94 exe="$testdir/../bin/$d" 134 "$d" "$testdir/$d/scripts/$t.$d" > "$name"
|
H A D | read.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 49 cat "$testdir/all.txt" 68 exe="$testdir/../bin/$d" 72 name="$testdir/$d/read.txt" 73 results="$testdir/$d/read_results.txt" 74 errors="$testdir/$d/read_errors.txt"
|
H A D | script.sh | 34 testdir=$(dirname "${script}") 36 . "$testdir/../scripts/functions.sh" 38 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 60 scriptdir="$testdir/$d/scripts" 107 exe="$testdir/../bin/$d" 167 orig="$testdir/$name.txt" 202 printf '%s\n' "$halt" 2> /dev/null | "$d" "$s" | sed -n -f "$testdir/script.sed" > "$results"
|
H A D | scripts.sh | 32 testdir=$(dirname "${script}") 34 . "$testdir/../scripts/functions.sh" 112 exe="$testdir/../bin/$d" 116 scriptdir="$testdir/$d/scripts" 126 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \ 130 sh "$testdir/script.sh" "$d" "$f" "$run_extra_tests" "$run_stack_tests" \
|
H A D | errors.sh | 33 testdir=$(dirname "$script") 35 . "$testdir/../scripts/functions.sh" 37 outputdir=${BC_TEST_OUTPUT_DIR:-$testdir} 60 exe="$testdir/../bin/$d" 106 printf '%s\n' "$halt" 2> /dev/null | "$exe" "$@" -e "1+1" -f- -f "$testdir/$d/decimal.txt" 2> "$out… 114 for testfile in $testdir/$d/*errors.txt; do
|
/aosp_15_r20/frameworks/av/media/libeffects/lvm/tests/ |
H A D | build_and_run_all_unit_tests.sh | 21 testdir="/data/local/tmp/lvmTest" 25 adb shell mkdir -p $testdir 26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir 27 adb push $OUT/testcases/snr/arm64/snr $testdir 32 cmds=("adb push $OUT/testcases/lvmtest/arm64/lvmtest $testdir" 33 "adb push $OUT/testcases/lvmtest/arm/lvmtest $testdir" 37 cmds="adb push $OUT/testcases/lvmtest/arm/lvmtest $testdir" 40 cmds="adb push $OUT/testcases/lvmtest/arm64/lvmtest $testdir" 96 adb shell $testdir/lvmtest -i:$testdir/sinesweepraw.raw \ 97 -o:$testdir/sinesweep_$((chMask))_$((fs)).raw -chMask:$chMask -fs:$fs $flags [all …]
|
H A D | build_and_run_all_unit_tests_reverb.sh | 21 testdir="/data/local/tmp/revTest" 25 adb shell mkdir -p $testdir 26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir 29 cmds="adb push $OUT/testcases/reverb_test/arm/reverb_test $testdir" 64 adb shell $testdir/reverb_test \ 65 --input $testdir/sinesweepraw.raw \ 66 --output $testdir/sinesweep_$((chMask))_$((fs)).raw \ 79 adb shell cmp $testdir/sinesweep_0_$((fs)).raw \ 80 $testdir/sinesweep_$((chMask))_$((fs)).raw 85 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \ [all …]
|
/aosp_15_r20/frameworks/av/media/libeffects/preprocessing/tests/ |
H A D | build_and_run_all_unit_tests.sh | 21 testdir="/data/local/tmp/AudioPreProcessingTest" 25 adb shell mkdir -p $testdir 26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir 27 adb push $OUT/testcases/snr/arm64/snr $testdir 32 cmds=("adb push $OUT/testcases/AudioPreProcessingTest/arm64/AudioPreProcessingTest $testdir" 33 "adb push $OUT/testcases/AudioPreProcessingTest/arm/AudioPreProcessingTest $testdir" 37 cmds="adb push $OUT/testcases/AudioPreProcessingTest/arm/AudioPreProcessingTest $testdir" 40 cmds="adb push $OUT/testcases/AudioPreProcessingTest/arm64/AudioPreProcessingTest $testdir" 84 adb shell $testdir/AudioPreProcessingTest $flags \ 85 --i $testdir/sinesweepraw.raw --far $testdir/sinesweepraw.raw \ [all …]
|
/aosp_15_r20/external/rust/crates/inotify/tests/ |
D | main.rs | 38 let mut testdir = TestDir::new(); in it_should_watch_a_file() localVariable 39 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file() 60 let mut testdir = TestDir::new(); in it_should_watch_a_file_async() localVariable 61 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_async() 99 let mut testdir = TestDir::new(); in it_should_watch_a_file_from_eventstream_watches() localVariable 100 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_from_eventstream_watches() 136 let mut testdir = TestDir::new(); in it_should_watch_a_file_after_converting_back_from_eventstream() localVariable 137 let (path, mut file) = testdir.new_file(); in it_should_watch_a_file_after_converting_back_from_eventstream() 169 let mut testdir = TestDir::new(); in it_should_convert_the_name_into_an_os_str() localVariable 170 let (path, mut file) = testdir.new_file(); in it_should_convert_the_name_into_an_os_str() [all …]
|
/aosp_15_r20/dalvik/dx/tests/ |
H A D | run-test | 84 testdir=`basename "$oldwd"` 86 testdir="$1" 89 if [ '!' -d "$testdir" ]; then 90 td2=`echo ${testdir}-*` 92 echo "${testdir}: no such test directory" 1>&2 95 testdir="$td2" 118 td_info="${testdir}/${info}" 119 td_run="${testdir}/${run}" 120 td_expected="${testdir}/${expected}" 124 echo "${testdir}: missing file $td_file" 1>&2 [all …]
|
/aosp_15_r20/external/flatbuffers/tests/ |
H A D | JavaTest.sh | 23 testdir=$(dirname $0) 25 targetdir="${testdir}/target" 34 if ! find "${testdir}/../java" -type f -name "*.class" -delete; then 39 …r}" -classpath "${testdir}/optional_scalars:${testdir}/../java:${testdir}:${testdir}/namespace_tes… 41 (cd "${testdir}" && java -ea -classpath "${targetdir}" JavaTest )
|
H A D | KotlinTest.sh | 19 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 -J"-ea" -cp ${testdir}/kotlin_test.jar KotlinTest 46 rm ${testdir}/kotlin_test.jar
|
/aosp_15_r20/system/media/audio_utils/tests/ |
H A D | build_and_run_biquad_filter.sh | 21 testdir="/data/local/tmp/biquadTest" 25 adb shell mkdir -p $testdir 26 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/audio/res/raw/sinesweepraw.raw $testdir 28 adb push $OUT/system/bin/biquad_filter $testdir 31 adb shell $testdir/biquad_filter -ch:$ch $testdir/sinesweepraw.raw \ 32 $testdir/sinesweep_$((ch)).raw 38 adb shell cmp $testdir/sinesweep_2.raw \ 39 $testdir/sinesweep_$((ch)).raw 43 adb shell rm -r $testdir
|
/aosp_15_r20/frameworks/av/media/libeffects/downmix/tests/ |
H A D | build_and_run_all_unit_tests.sh | 20 testdir="/data/local/tmp/downmixtest" 40 adb shell mkdir $testdir 42 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir 43 adb push $OUT/testcases/downmixtest/arm64/downmixtest $testdir 53 $testdir/downmixtest $testdir/sinesweepraw.raw \ 54 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw \ 62 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_8000.raw \ 63 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw 68 adb shell rm -r $testdir
|
/aosp_15_r20/external/autotest/site_utils/ |
H A D | generate_test_report | 84 def _CollectPerf(self, testdir): argument 94 return self._CollectKeyval(testdir, 'perf') 96 def _CollectAttr(self, testdir): argument 106 return self._CollectKeyval(testdir, 'attr') 108 def _CollectKeyval(self, testdir, keyword): argument 124 keyval_file = os.path.join(testdir, 'results', 'keyval') 179 def _CollectInfo(self, testdir, custom_info): argument 199 sysinfo_dir = os.path.join(testdir, 'sysinfo', 'var', 'log') 257 def _CheckExperimental(self, testdir): argument 266 keyval_file = os.path.join(testdir, 'keyval') [all …]
|
/aosp_15_r20/external/libpng/contrib/libtests/ |
H A D | gentests.sh | 32 testdir="tests" 34 testdir="$1" 40 if test -e "$testdir" 42 test -d "$testdir" || usage 45 mkdir "$testdir" 2>/dev/null || mkdir -p "$testdir" || usage 49 cd "$testdir" 52 echo "$testdir: directory not writable" 57 echo "$testdir: you have create but not write privileges here."
|
/aosp_15_r20/external/ltp/testcases/open_posix_testsuite/ |
H A D | configure.ac | 11 AC_ARG_WITH([open-posix-testdir], 12 [AS_HELP_STRING([--with-open-posix-testdir=DIR], [Relative path from $prefix to testdir])], 13 [testdir=$withval], 14 [testdir=] 16 AC_SUBST([testdir], [$testdir]) subst
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | regrtest.py | 336 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 …]
|
/aosp_15_r20/external/bazel-skylib/tests/ |
H A D | unittest_test.sh | 88 mkdir -p testdir 89 cat > testdir/BUILD <<'EOF' 131 bazel test testdir:basic_passing_test >"$TEST_log" 2>&1 || fail "Expected test to pass" 140 bazel test testdir:basic_failing_test --test_output=all --verbose_failures \ 150 bazel test testdir:shell_escape_failure_message_test --test_output=all --verbose_failures \ 160 bazel test testdir:cmd_escape_failure_message_test --test_output=all --verbose_failures \ 170 bazel test testdir:eof_failure_message_test --test_output=all --verbose_failures \ 180 bazel test testdir:fail_unexpected_passing_test --test_output=all --verbose_failures \
|
H A D | analysis_test_test.sh | 102 mkdir -p testdir 103 cat > testdir/dummy.cc <<EOF 107 cat > testdir/BUILD <<EOF 143 bazel test testdir:target_succeeds >"$TEST_log" 2>&1 || fail "Expected test to pass" 152 bazel test testdir:direct_target_fails --test_output=all --verbose_failures \ 162 bazel test testdir:transitive_target_fails --test_output=all --verbose_failures \
|
/aosp_15_r20/external/bc/scripts/ |
H A D | karatsuba.py | 47 testdir = os.path.dirname(script) variable 49 if testdir == "": 50 testdir = os.getcwd() variable 86 exe = testdir + "/bin/bc" 116 p = run([ "{}/../configure.sh".format(testdir), "-O3" ], flags) 161 p = run([ "{}/../configure.sh".format(testdir), "-O3", "-k{}".format(i) ], config_env) 180 cmd = [ "{}/../tests/test.sh".format(testdir), "bc", test, "0", "0", exe ] 194 cmd = [ "{}/../tests/script.sh".format(testdir), "bc", script + ".bc", 214 cmd = [ exe, "{}/../tests/bc/power.txt".format(testdir) ]
|
/aosp_15_r20/external/toybox/tests/ |
H A D | chgrp.test | 19 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
|