Home
last modified time | relevance | path

Searched refs:test_num (Results 1 – 25 of 39) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/
Dlib.mk40 echo "not ok 1..$$test_num $$TEST_HDR_MSG [FAIL]"; \
45 echo "ok 1..$$test_num $$TEST_HDR_MSG [PASS]") || \
47 echo "not ok 1..$$test_num $$TEST_HDR_MSG [SKIP]"; \
48 else echo "not ok 1..$$test_num $$TEST_HDR_MSG [FAIL]"; \
52 echo "ok 1..$$test_num $$TEST_HDR_MSG [PASS]") || \
54 echo "not ok 1..$$test_num $$TEST_HDR_MSG [SKIP]"; \
55 else echo "not ok 1..$$test_num $$TEST_HDR_MSG [FAIL]"; \
64 test_num=`echo 0`; \
69 test_num=`echo $$test_num+1 | bc`; \
70 $(call RUN_TEST_PRINT_RESULT,$(TEST),$(BASENAME_TEST),$(test_num),$(skip)) \
[all …]
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify07.c118 int i = 0, test_num = 0; in verify_inotify() local
122 if (test_num >= test_cnt) { in verify_inotify()
129 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
132 (event_set[test_num].name, event->name, in verify_inotify()
145 event_set[test_num].mask, in verify_inotify()
147 event->name, event_set[test_num].name, in verify_inotify()
148 strcmp(event_set[test_num].name, in verify_inotify()
151 test_num++; in verify_inotify()
155 for (; test_num < test_cnt; test_num++) { in verify_inotify()
157 event_set[test_num].mask); in verify_inotify()
Dinotify04.c112 int i = 0, test_num = 0, len; in verify_inotify() local
173 if (test_num >= test_cnt) { in verify_inotify()
194 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
197 (event_set[test_num].name, event->name, in verify_inotify()
210 event_set[test_num].mask, in verify_inotify()
213 event_set[test_num].name, in verify_inotify()
214 strncmp(event_set[test_num].name, event->name, event->len)); in verify_inotify()
216 test_num++; in verify_inotify()
220 for (; test_num < test_cnt; test_num++) { in verify_inotify()
222 event_set[test_num].mask); in verify_inotify()
Dinotify02.c143 int len, i = 0, test_num = 0; in verify_inotify() local
154 if (test_num >= test_cnt) { in verify_inotify()
177 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
180 (event_set[test_num].name, event->name, in verify_inotify()
219 event_set[test_num].mask, in verify_inotify()
221 event_set[test_num].name, in verify_inotify()
222 strcmp(event_set[test_num].name, in verify_inotify()
225 test_num++; in verify_inotify()
229 for (; test_num < test_cnt; test_num++) { in verify_inotify()
231 event_set[test_num].mask); in verify_inotify()
Dinotify03.c73 int len, i, test_num; in verify_inotify() local
111 test_num = 0; in verify_inotify()
116 if (test_num >= (test_cnt - 1)) { in verify_inotify()
122 } else if (event_set[test_num] == event->mask) { in verify_inotify()
132 event_set[test_num], in verify_inotify()
135 test_num++; in verify_inotify()
138 for (; test_num < test_cnt - 1; test_num++) { in verify_inotify()
140 event_set[test_num]); in verify_inotify()
Dinotify01.c113 int len, i = 0, test_num = 0; in verify_inotify() local
127 if (test_num >= test_cnt) { in verify_inotify()
133 } else if (event_set[test_num] == event->mask) { in verify_inotify()
151 event_set[test_num], in verify_inotify()
154 test_num++; in verify_inotify()
157 for (; test_num < test_cnt; test_num++) { in verify_inotify()
159 event_set[test_num]); in verify_inotify()
Dinotify08.c117 int i = 0, test_num = 0; in verify_inotify() local
121 if (test_num >= test_cnt) { in verify_inotify()
128 } else if (event_set[test_num].mask == event->mask && in verify_inotify()
140 event_set[test_num].mask, in verify_inotify()
144 test_num++; in verify_inotify()
148 for (; test_num < test_cnt; test_num++) { in verify_inotify()
150 event_set[test_num].mask); in verify_inotify()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify03.c175 int ret, len = 0, i = 0, test_num = 0; in test_fanotify() local
199 while (test_num < TST_TOTAL && fd_notify != -1) { in test_fanotify()
217 if (!(event->mask & event_set[test_num])) { in test_fanotify()
222 event_set[test_num], in test_fanotify()
239 if (event_set[test_num] & FAN_ALL_PERM_EVENTS) { in test_fanotify()
243 resp.response = event_resp[test_num]; in test_fanotify()
247 event->mask &= ~event_set[test_num]; in test_fanotify()
254 test_num++; in test_fanotify()
256 for (; test_num < TST_TOTAL - 1; test_num++) { in test_fanotify()
258 event_set[test_num]); in test_fanotify()
Dfanotify02.c45 int ret, len, i = 0, test_num = 0; in test01() local
148 if (test_num >= TST_TOTAL) { in test01()
154 } else if (!(event->mask & event_set[test_num])) { in test01()
159 event_set[test_num], in test01()
175 event->mask &= ~event_set[test_num]; in test01()
182 test_num++; in test01()
184 for (; test_num < TST_TOTAL; test_num++) { in test01()
186 event_set[test_num]); in test01()
Dfanotify01.c65 int fd, ret, len, i = 0, test_num = 0; in test_fanotify() local
244 if (test_num >= TST_TOTAL) { in test_fanotify()
250 } else if (!(event->mask & event_set[test_num])) { in test_fanotify()
255 event_set[test_num], in test_fanotify()
301 event->mask &= ~event_set[test_num]; in test_fanotify()
306 test_num++; in test_fanotify()
308 for (; test_num < TST_TOTAL; test_num++) { in test_fanotify()
310 event_set[test_num]); in test_fanotify()
/external/boringssl/src/decrepit/blowfish/
Dblowfish_test.cc64 unsigned test_num = 0; in TEST() local
66 test_num++; in TEST()
67 SCOPED_TRACE(test_num); in TEST()
100 unsigned test_num = 0; in TEST() local
102 test_num++; in TEST()
103 SCOPED_TRACE(test_num); in TEST()
133 unsigned test_num = 0; in TEST() local
135 test_num++; in TEST()
136 SCOPED_TRACE(test_num); in TEST()
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_latency_check_task.c77 int test_num; in main() local
88 test_num = atoi(argv[1]); in main()
91 if ((test_num < 0) || (script_pid < 0) || (ALLOWED < 0)) { in main()
96 if (test_num == 2) { in main()
139 printf("FAIL \tThe Latency test %d failed\n", test_num); in main()
144 printf("PASS \tThe Latency test %d passed\n", test_num); in main()
Dcpuctl_test01.c88 int test_num; in main() local
109 test_num = 0; in main()
121 || (test_num = atoi(argv[5])) <= 0) { in main()
125 if (test_num == 1) /* Test 01 & Test 02 */ in main()
127 else if (test_num == 3) /* Test 03 */ in main()
218 if (test_num == 1) { in main()
231 if (test_num == 3) { in main()
Dcpuctl_latency_test.c65 int test_num; in main() local
81 test_num = atoi(argv[1]); in main()
82 if (test_num < 0) { in main()
88 if (test_num == 2) { in main()
Dcpuctl_def_task01.c89 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local
108 test_num = 0; in main()
121 (test_num = atoi(argv[5])) <= 0) in main()
124 if (test_num == 1) in main()
126 else if (test_num == 3) in main()
232 if (test_num == 1) { in main()
Dcpuctl_test04.c85 int test_num; in main() local
110 test_num = 0; in main()
127 && (((test_num = atoi(test_num_p)) <= 10) in main()
128 && ((test_num = atoi(test_num_p)) >= 9))) { in main()
157 if (test_num == 9) in main()
231 switch (test_num) { in main()
Dcpuctl_def_task04.c84 int test_num; in main() local
110 test_num = 0; in main()
126 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 10) && in main()
127 ((test_num = atoi(test_num_p)) >= 9))) { in main()
240 switch (test_num) { in main()
Dcpuctl_def_task02.c84 int test_num; in main() local
111 test_num = 0; in main()
127 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) == 4) || in main()
128 ((test_num = atoi(test_num_p)) == 5))) { in main()
233 switch (test_num) { in main()
Dcpuctl_test03.c84 int test_num; in main() local
109 test_num = 0; in main()
126 && (((test_num = atoi(test_num_p)) <= 8) in main()
127 && ((test_num = atoi(test_num_p)) >= 6))) { in main()
220 switch (test_num) { in main()
Dcpuctl_def_task03.c84 int test_num, task_num, len, num_cpus; in main() local
107 test_num = 0; in main()
123 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 8) && in main()
124 ((test_num = atoi(test_num_p)) >= 6))) { in main()
230 switch (test_num) { in main()
/external/libaom/libaom/test/
Dconvolve_round_test.cc86 int test_num = 0; in ConvolveRoundingRun() local
103 while (test_num < kTestNum) { in ConvolveRoundingRun()
104 int block_size = test_num % BLOCK_SIZES_ALL; in ConvolveRoundingRun()
108 if (test_num % 2 == 0) in ConvolveRoundingRun()
124 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
132 << " h: " << h << " test: " << test_num; in ConvolveRoundingRun()
137 test_num++; in ConvolveRoundingRun()
/external/boringssl/src/decrepit/cast/
Dcast_test.cc59 unsigned test_num = 0; in TEST() local
61 test_num++; in TEST()
62 SCOPED_TRACE(test_num); in TEST()
95 unsigned test_num = 0; in TEST() local
97 test_num++; in TEST()
98 SCOPED_TRACE(test_num); in TEST()
/external/linux-kselftest/tools/testing/selftests/kmod/
Dkmod.sh500 function test_num() function
510 test_num $1
518 test_num $1
550 test_num $1
570 test_num $1
590 test_num $1
594 test_num $1
595 test_num $2
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh59 test_num=0
121 tst_resm TFAIL "FAILED test $test_num"
124 failed_list="$failed_list $test_num"
134 test_num=$(expr $test_num + 1)
191 tst_resm TPASS "PASSED test $test_num"
512 echo "Total tests: $test_num; passed: $passed_cnt; failed: $failed_cnt"
/external/linux-kselftest/tools/testing/selftests/sysctl/
Dsysctl.sh660 function test_num() function
670 test_num $1
678 test_num $1
710 test_num $1
730 test_num $1
750 test_num $1
754 test_num $1
755 test_num $2

12