/tools/testing/kunit/ |
D | kunit_tool_test.py | 104 result = kunit_parser.isolate_kunit_output(file.readlines()) 105 self.assertContains('TAP version 14', result) 106 self.assertContains(' # Subtest: example', result) 107 self.assertContains(' 1..2', result) 108 self.assertContains(' ok 1 - example_simple_test', result) 109 self.assertContains(' ok 2 - example_mock_test', result) 110 self.assertContains('ok 1 - example', result) 117 result = kunit_parser.isolate_kunit_output(file.readlines()) 118 self.assertContains('TAP version 14', result) 119 self.assertContains(' # Subtest: kunit-resource-test', result) [all …]
|
/tools/testing/selftests/bpf/verifier/ |
D | direct_value_access.c | 10 .result = ACCEPT, 22 .result = ACCEPT, 34 .result = ACCEPT, 46 .result = ACCEPT, 58 .result = ACCEPT, 70 .result = REJECT, 82 .result = REJECT, 94 .result = ACCEPT, 106 .result = REJECT, 118 .result = ACCEPT, [all …]
|
D | event_output.c | 44 .result = ACCEPT, 52 .result = ACCEPT, 60 .result = ACCEPT, 68 .result = ACCEPT, 76 .result = ACCEPT, 84 .result = ACCEPT, 92 .result = ACCEPT, 100 .result = ACCEPT, 108 .result = ACCEPT, 117 .result = ACCEPT,
|
D | ld_imm64.c | 14 .result = REJECT, 28 .result = REJECT, 42 .result = REJECT, 51 .result = REJECT, 60 .result = ACCEPT, 69 .result = ACCEPT, 80 .result = REJECT, 90 .result = REJECT, 100 .result = REJECT, 110 .result = REJECT, [all …]
|
D | div0.c | 10 .result = ACCEPT, 22 .result = ACCEPT, 34 .result = ACCEPT, 46 .result = ACCEPT, 58 .result = ACCEPT, 70 .result = ACCEPT, 84 .result = ACCEPT, 96 .result = ACCEPT, 108 .result = ACCEPT, 120 .result = ACCEPT, [all …]
|
D | basic_instr.c | 13 .result = ACCEPT, 29 .result = ACCEPT, 39 .result = ACCEPT, 49 .result = ACCEPT, 60 .result = ACCEPT, 71 .result = ACCEPT, 81 .result = ACCEPT, 91 .result = ACCEPT, 103 .result = ACCEPT, 117 .result = ACCEPT, [all …]
|
D | ctx.c | 9 .result = REJECT, 21 .result = REJECT, 35 .result = REJECT, 48 .result = ACCEPT, 61 .result = REJECT, 74 .result = REJECT, 91 .result = REJECT, 104 .result = ACCEPT, 117 .result = ACCEPT, 130 .result = REJECT, [all …]
|
D | cfg.c | 8 .result = REJECT, 18 .result = REJECT, 27 .result = REJECT, 36 .result = REJECT, 46 .result = REJECT, 59 .result = REJECT, 72 .result = REJECT,
|
D | loops1.c | 9 .result = ACCEPT, 21 .result = ACCEPT, 33 .result = ACCEPT, 45 .result = ACCEPT, 56 .result = ACCEPT, 68 .result = REJECT, 82 .result = ACCEPT, 96 .result = ACCEPT, 108 .result = REJECT, 125 .result = REJECT, [all …]
|
D | stack_ptr.c | 10 .result = ACCEPT, 22 .result = REJECT, 34 .result = REJECT, 46 .result = REJECT, 59 .result = REJECT, 71 .result = ACCEPT, 82 .result = ACCEPT, 96 .result = ACCEPT, 110 .result = REJECT, 121 .result = REJECT, [all …]
|
D | ctx_skb.c | 30 .result = ACCEPT, 39 .result = REJECT, 60 .result = REJECT, 82 .result = REJECT, 105 .result = REJECT, 115 .result = REJECT, 125 .result = REJECT, 135 .result = REJECT, 145 .result = REJECT, 155 .result = REJECT, [all …]
|
D | junk_insn.c | 8 .result = REJECT, 17 .result = REJECT, 26 .result = REJECT, 35 .result = REJECT, 44 .result = REJECT,
|
D | cgroup_inv_retcode.c | 8 .result = REJECT, 18 .result = ACCEPT, 29 .result = REJECT, 38 .result = ACCEPT, 48 .result = REJECT, 58 .result = REJECT, 70 .result = REJECT,
|
D | ctx_sk_msg.c | 8 .result = ACCEPT, 18 .result = ACCEPT, 28 .result = ACCEPT, 38 .result = ACCEPT, 48 .result = ACCEPT, 64 .result = ACCEPT, 80 .result = ACCEPT, 90 .result = ACCEPT, 101 .result = REJECT, 113 .result = REJECT, [all …]
|
D | dead_code.c | 13 .result = ACCEPT, 24 .result = ACCEPT, 39 .result = ACCEPT, 50 .result = ACCEPT, 62 .result = ACCEPT, 76 .result = ACCEPT, 92 .result = ACCEPT, 110 .result = ACCEPT, 128 .result = ACCEPT, 144 .result = ACCEPT, [all …]
|
D | unpriv.c | 7 .result = ACCEPT, 19 .result = ACCEPT, 28 .result = REJECT, 38 .result = ACCEPT, 49 .result = ACCEPT, 60 .result = ACCEPT, 78 .result = ACCEPT, 97 .result = ACCEPT, 113 .result = ACCEPT, 125 .result = ACCEPT, [all …]
|
D | basic_stx_ldx.c | 8 .result = REJECT, 17 .result = REJECT, 26 .result = REJECT, 35 .result = REJECT, 44 .result = REJECT,
|
D | bounds_deduction.c | 11 .result = REJECT, 26 .result = ACCEPT, 39 .result = REJECT, 55 .result = ACCEPT, 67 .result = REJECT, 80 .result = REJECT, 94 .result = REJECT, 109 .result = REJECT, 122 .result = REJECT, 135 .result = REJECT,
|
D | ld_dw.c | 7 .result = ACCEPT, 16 .result = ACCEPT, 25 .result = ACCEPT, 34 .result = ACCEPT, 43 .result = ACCEPT,
|
D | basic_stack.c | 8 .result = REJECT, 21 .result = REJECT, 31 .result = REJECT, 44 .result = REJECT, 53 .result = ACCEPT, 63 .result = REJECT,
|
/tools/testing/selftests/intel_pstate/ |
D | run.sh | 60 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs 61 num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ') 63 tail -n 1 /tmp/result.freqs > /tmp/result.$1 65 cp /tmp/result.freqs /tmp/result.$1 67 ./msr 0 >> /tmp/result.$1 70 echo "max_perf_pct $max_perf_pct" >> /tmp/result.$1 110 echo "Target Actual Difference MSR(0x199) max_perf_pct" | tr " " "\n" > /tmp/result.tab 113 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri… 114 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ') 115 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' ) [all …]
|
/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 68 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result); 69 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result); 200 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) in test_queue() argument 207 if (mq_getattr(queue, result)) in test_queue() 222 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) in test_queue_fail() argument 229 if (mq_getattr(queue, result)) in test_queue_fail() 241 struct mq_attr attr, result; in main() local 328 test_queue(NULL, &result); in main() 331 if (result.mq_maxmsg != cur_max_msgs || in main() 332 result.mq_msgsize != cur_max_msgsize) { in main() [all …]
|
/tools/testing/selftests/arm64/mte/ |
D | check_tags_inclusion.c | 46 int tag, run, result = KSFT_PASS; in check_single_included_tags() local 53 for (tag = 0; (tag < MT_TAG_COUNT) && (result == KSFT_PASS); tag++) { in check_single_included_tags() 56 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_single_included_tags() 63 result = KSFT_FAIL; in check_single_included_tags() 66 result = verify_mte_pointer_validity(ptr, mode); in check_single_included_tags() 70 return result; in check_single_included_tags() 76 int tag, run, result = KSFT_PASS; in check_multiple_included_tags() local 84 for (tag = 0; (tag < MT_TAG_COUNT - 1) && (result == KSFT_PASS); tag++) { in check_multiple_included_tags() 88 for (run = 0; (run < RUNS) && (result == KSFT_PASS); run++) { in check_multiple_included_tags() 95 result = KSFT_FAIL; in check_multiple_included_tags() [all …]
|
/tools/power/cpupower/lib/ |
D | cpuidle.c | 178 char *result; in cpuidle_state_get_one_string() local 190 result = strdup(linebuf); in cpuidle_state_get_one_string() 191 if (result == NULL) in cpuidle_state_get_one_string() 194 if (result[strlen(result) - 1] == '\n') in cpuidle_state_get_one_string() 195 result[strlen(result) - 1] = '\0'; in cpuidle_state_get_one_string() 197 return result; in cpuidle_state_get_one_string() 345 char *result; in sysfs_cpuidle_get_one_string() local 356 result = strdup(linebuf); in sysfs_cpuidle_get_one_string() 357 if (result == NULL) in sysfs_cpuidle_get_one_string() 360 if (result[strlen(result) - 1] == '\n') in sysfs_cpuidle_get_one_string() [all …]
|
/tools/testing/selftests/tc-testing/ |
D | TdcResults.py | 15 self.result = ResultState.noresult 20 def set_result(self, result): argument 21 if (isinstance(result, ResultState)): 22 self.result = result 28 return self.result 73 return sum(1 for t in self._testsuite if t.result == ResultState.fail) 76 return sum(1 for t in self._testsuite if t.result == ResultState.skip) 94 if t.result == ResultState.fail: 97 if t.result == ResultState.skip or t.result == ResultState.noresult: 99 elif t.result == ResultState.fail: [all …]
|