/external/linux-kselftest/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 20 const char *test_name = "sys membarrier invalid command"; in test_membarrier_cmd_fail() local 25 test_name, cmd, flags); in test_membarrier_cmd_fail() 30 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail() 36 test_name, cmd, flags, errno); in test_membarrier_cmd_fail() 43 const char *test_name = "sys membarrier MEMBARRIER_CMD_QUERY invalid flags"; in test_membarrier_flags_fail() local 48 test_name, flags); in test_membarrier_flags_fail() 53 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail() 59 test_name, flags, errno); in test_membarrier_flags_fail() 66 const char *test_name = "sys membarrier MEMBARRIER_CMD_GLOBAL"; in test_membarrier_global_success() local 71 test_name, flags, errno); in test_membarrier_global_success() [all …]
|
/external/linux-kselftest/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 57 const char *test_name = "pidfd_send_signal send SIGUSR1"; in test_pidfd_send_signal_simple_success() local 63 test_name); in test_pidfd_send_signal_simple_success() 71 test_name); in test_pidfd_send_signal_simple_success() 75 test_name); in test_pidfd_send_signal_simple_success() 78 ksft_test_result_pass("%s test: Sent signal\n", test_name); in test_pidfd_send_signal_simple_success() 87 const char *test_name = "pidfd_send_signal signal exited process"; in test_pidfd_send_signal_exited_fail() local 92 test_name); in test_pidfd_send_signal_exited_fail() 106 test_name); in test_pidfd_send_signal_exited_fail() 114 test_name); in test_pidfd_send_signal_exited_fail() 119 test_name, saved_errno); in test_pidfd_send_signal_exited_fail() [all …]
|
D | pidfd_wait.c | 37 const char *test_name = "pidfd wait simple"; in test_pidfd_wait_simple() local 55 test_name, strerror(errno)); in test_pidfd_wait_simple() 61 test_name, strerror(errno)); in test_pidfd_wait_simple() 68 test_name, strerror(errno)); in test_pidfd_wait_simple() 74 test_name, strerror(errno)); in test_pidfd_wait_simple() 81 test_name, strerror(errno)); in test_pidfd_wait_simple() 90 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple() 95 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple() 101 test_name, info.si_signo, parent_tid, pidfd, in test_pidfd_wait_simple() 107 test_name, info.si_code, parent_tid, pidfd, in test_pidfd_wait_simple() [all …]
|
/external/e2fsprogs/tests/f_mmp/ |
D | script | 5 TMPFILE=$(mktemp ./tmp-$test_name.XXXXXX) 10 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)" 14 echo "make the test image ..." > $test_name.log 15 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1 18 echo "mke2fs -O mmp failed" > $test_name.failed 19 echo "$test_name: $test_description: failed" 30 # this will cause debugfs to create the $test_name.mark file once it has 32 MARKFILE=$test_name.new 35 echo "set mmp sequence to EXT2_MMP_SEQ_FSCK..." >> $test_name.log 37 $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 & ) > /dev/null 2>&1 & [all …]
|
/external/e2fsprogs/tests/j_corrupt_ext_jnl_sb_csum/ |
D | script | 2 OUT=$test_name.log 4 EXP=$test_name.tmp 11 …d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name… 12 …"$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_na… 14 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img > $OUT.new 2>&1 18 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img >> $OUT.new 2>&1 22 rm -f $TMPFILE $test_name.img $test_name.img.jnl $OUT.new 28 echo "$test_name: $test_description: ok" 29 touch $test_name.ok 31 echo "$test_name: $test_description: failed" [all …]
|
/external/harfbuzz_ng/test/api/ |
D | CMakeLists.txt | 17 foreach (test_name IN ITEMS ${TEST_PROGS}) 18 if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.c) 19 add_executable (${test_name} ${test_name}.c) 20 elseif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.cc) 21 add_executable (${test_name} ${test_name}.cc) 23 message (FATAL_ERROR "No source file found for test ${test_name}") 25 target_link_libraries (${test_name} harfbuzz harfbuzz-subset) 27 set_property (TARGET ${test_name} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) 28 add_test (NAME ${test_name} COMMAND ${test_name}) 30 add_test (${test_name} ${test_name})
|
/external/e2fsprogs/tests/j_corrupt_ext_jnl_sb_block/ |
D | script | 2 OUT=$test_name.log 4 EXP=$test_name.tmp 11 …d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name… 12 …"$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_na… 14 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img > $OUT.new 2>&1 18 rm -f $TMPFILE $test_name.img $test_name.img.jnl $OUT.new 24 echo "$test_name: $test_description: ok" 25 touch $test_name.ok 27 echo "$test_name: $test_description: failed" 28 diff $DIFF_OPTS $EXP $OUT > $test_name.failed [all …]
|
/external/e2fsprogs/tests/t_project_1on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 23 $TUNE2FS -O project $TMPFILE >> $test_name.log 2>&1 26 echo "tune2fs -O project failed with $status" > $test_name.failed 27 echo "$test_name: $test_description: failed" 31 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/external/e2fsprogs/tests/t_project_3on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 23 $TUNE2FS -Q prj $TMPFILE >> $test_name.log 2>&1 26 echo "tune2fs -Q project failed with $status" > $test_name.failed 27 echo "$test_name: $test_description: failed" 31 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/external/e2fsprogs/tests/t_quota_1on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 24 $TUNE2FS -O quota $TMPFILE >> $test_name.log 2>&1 27 echo "tune2fs -O quota failed with $status" > $test_name.failed 28 echo "$test_name: $test_description: failed" 32 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/external/e2fsprogs/tests/ |
D | test_one.in | 37 test_name=`echo $test_dir | sed -e 's;.*/;;'` 43 echo "The test '$test_name' does not exist." 56 echo "$test_name: $test_description: skipped (slow test)" 60 rm -f $test_name.ok $test_name.failed $test_name.log $test_name.slow 63 TMPFILE=$(mktemp ${TMPDIR:-/tmp}/e2fsprogs-tmp-$test_name.XXXXXX) 70 test_base=`echo $test_name | sed -e 's/_.*//'` 75 echo "$test_name: Missing test script $default_script!" 80 echo "$test_name: *** took $elapsed seconds to finish ***" | 81 tee $test_name.slow 82 echo "$test_name: consider adding $test_dir/is_slow_test"
|
/external/igt-gpu-tools/benchmarks/ezbench.d/ |
D | gem_busy.test | 7 test_name="$test_name $name" 11 test_name="$test_name $name" 15 test_name="$test_name $name" 19 test_name="$test_name $name" 23 test_name="$test_name $name" 27 test_name="$test_name $name" 31 test_name="$test_name $name" 35 test_name="$test_name $name"
|
D | gem_latency.test | 16 test_name="$test_name $name" 23 test_name="$test_name $name" 29 test_name="$test_name $name" 41 test_name="$test_name $name" 45 test_name="$test_name $name" 57 test_name="$test_name $name" 61 test_name="$test_name $name" 73 test_name="$test_name $name" 77 test_name="$test_name $name" 89 test_name="$test_name $name" [all …]
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | main.cpp | 318 const char *test_name[], unsigned int number_of_tests, in test_suite() argument 332 AccumulatorEventHandler FailE(ErrList, test_name[i]); in test_suite() 335 (SuccE)(test_name[i], ""); in test_suite() 336 …std::cout << test_name[i] << "... Skipped. (Cannot run on device due to missing extension: " << ex… in test_suite() 340 testRunner.runBuildTest(device, folder, test_name[i], size_t_width); in test_suite() 373 static const char* test_name[] = { in test_api() local 697 …return test_suite(device, size_t_width, folder, test_name, sizeof(test_name) / sizeof(const char *… in test_api() 703 static const char* test_name[] = { in test_api_double() local 725 …return test_suite(device, size_t_width, folder, test_name, sizeof(test_name) / sizeof(const char *… in test_api_double() 731 static const char* test_name[] = { in test_atomics() local [all …]
|
/external/e2fsprogs/tests/t_quota_2off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -b 4096 -O quota $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -O ^quota $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^quota failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/external/protobuf/conformance/ |
D | conformance_test.cc | 66 const string& test_name, const string& input) in ConformanceRequestSetting() argument 72 test_name_(test_name) { in ConformanceRequestSetting() 163 void ConformanceTestSuite::ReportSuccess(const string& test_name) { in ReportSuccess() argument 164 if (expected_to_fail_.erase(test_name) != 0) { in ReportSuccess() 168 test_name.c_str()); in ReportSuccess() 169 unexpected_succeeding_tests_.insert(test_name); in ReportSuccess() 174 void ConformanceTestSuite::ReportFailure(const string& test_name, in ReportFailure() argument 179 if (expected_to_fail_.erase(test_name) == 1) { in ReportFailure() 184 StringAppendF(&output_, "WARNING, test=%s: ", test_name.c_str()); in ReportFailure() 186 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure() [all …]
|
/external/e2fsprogs/tests/t_mmp_2off/ |
D | script | 5 TMPFILE=$(mktemp ./tmp-$test_name.XXXXXX) 10 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)" 14 $MKE2FS -q -F -o Linux -b 4096 -O mmp $TMPFILE 100 > $test_name.log 2>&1 17 echo "mke2fs -O mmp failed" > $test_name.failed 18 echo "$test_name: $test_description: failed" 22 $TUNE2FS -O ^mmp $TMPFILE > $test_name.log 2>&1 25 echo "tune2fs -O ^mmp failed" > $test_name.failed 26 echo "$test_name: $test_description: failed" 30 $FSCK $FSCK_OPT $TMPFILE > $test_name.log 2>&1 33 echo "$test_name: $test_description: ok" [all …]
|
/external/e2fsprogs/tests/t_mmp_1on/ |
D | script | 5 TMPFILE=$(mktemp ./tmp-$test_name.XXXXXX) 10 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)" 14 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 100 > $test_name.log 2>&1 17 echo "mke2fs failed" > $test_name.failed 18 echo "$test_name: $test_description: failed" 22 $TUNE2FS -O mmp -E mmp_update_interval=1 $TMPFILE >> $test_name.log 2>&1 25 echo "tune2fs -O mmp failed with $status" > $test_name.failed 26 echo "$test_name: $test_description: failed" 30 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 33 echo "$test_name: $test_description: ok" [all …]
|
/external/e2fsprogs/tests/t_project_2off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 -O quota,project $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota,project failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -O ^project $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^project failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/external/e2fsprogs/tests/t_project_4off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 -O quota,project $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota,project failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -Q ^prj $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^project failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | readability-avoid-underscore-in-googletest-name.cpp | 3 #define TEST(test_case_name, test_name) void test_case_name##test_name() argument 4 #define TEST_F(test_case_name, test_name) void test_case_name##test_name() argument 5 #define TEST_P(test_case_name, test_name) void test_case_name##test_name() argument 6 #define TYPED_TEST(test_case_name, test_name) void test_case_name##test_name() argument 7 #define TYPED_TEST_P(test_case_name, test_name) void test_case_name##test_name() argument 8 #define FRIEND_TEST(test_case_name, test_name) void test_case_name##test_name() argument
|
/external/autotest/site_utils/presubmit_hooks/ |
D | check_control_files.py | 117 def CheckSuites(ctrl_data, test_name, useflags): argument 145 if flag == 'tests_%s' % test_name: 151 '<your_ebuild>. 3. emerge-<board> <your_ebuild>' % test_name) 154 def CheckValidAttr(ctrl_data, attr_allowlist, bvt_allowlist, test_name): argument 174 (attribute_diff, test_name)) 177 if fnmatch.fnmatch(test_name, pattern): 183 (test_name, TAST_PSA_URL)) 203 def CheckRetry(ctrl_data, test_name): argument 218 'file for %s.' % (' or '.join(SUITES_NEED_RETRY), test_name)) 221 def CheckDependencies(ctrl_data, test_name): argument [all …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | test_harness.h | 214 #define _TEST(test_name) __TEST_IMPL(test_name, -1) argument 216 #define _TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument 218 #define __TEST_IMPL(test_name, _signal) \ argument 219 static void test_name(struct __test_metadata *_metadata); \ 220 static struct __test_metadata _##test_name##_object = \ 221 { name: "global." #test_name, fn: &test_name, termsig: _signal }; \ 222 static void __attribute__((constructor)) _register_##test_name(void) { \ 223 __register_test(&_##test_name##_object); \ 225 static void test_name( \ 255 #define _TEST_F(fixture_name, test_name) \ argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/ |
D | kselftest_harness.h | 148 #define TEST(test_name) __TEST_IMPL(test_name, -1) argument 167 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) argument 169 #define __TEST_IMPL(test_name, _signal) \ argument 170 static void test_name(struct __test_metadata *_metadata); \ 171 static struct __test_metadata _##test_name##_object = \ 172 { .name = "global." #test_name, \ 173 .fn = &test_name, .termsig = _signal, \ 175 static void __attribute__((constructor)) _register_##test_name(void) \ 177 __register_test(&_##test_name##_object); \ 179 static void test_name( \ [all …]
|
/external/e2fsprogs/tests/f_super_bad_csum/ |
D | script | 11 OUT1=$test_name.1.log 12 rm -f $test_name.failed $test_name.ok 19 OUT2=$test_name.2.log 26 echo "$test_name: $test_description: ok" 27 touch $test_name.ok 29 echo "$test_name: $test_description: failed" 30 diff -u $EXP1 $OUT1 >> $test_name.failed 31 diff -u $EXP2 $OUT2 >> $test_name.failed
|