Home
last modified time | relevance | path

Searched refs:SCX_FAIL_IF (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/sched_ext/
H A Dinit_enable_count.c28 SCX_FAIL_IF(!skel, "Failed to open"); in run_test()
34 SCX_FAIL_IF(init_enable_count__load(skel), "Failed to load skel"); in run_test()
44 SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); in run_test()
52 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run_test()
55 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test()
58 SCX_FAIL_IF(status != 0, "Pre-forked child %d exited with status %d\n", i, in run_test()
67 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run_test()
72 SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); in run_test()
92 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test()
95 SCX_FAIL_IF(status != 0, "SCX child %d exited with status %d\n", i, in run_test()
[all …]
H A Dreload_loop.c22 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
24 SCX_FAIL_IF(maximal__load(skel), "Failed to load skel"); in setup()
50 SCX_FAIL_IF(err, "Failed to create thread 0"); in run()
53 SCX_FAIL_IF(err, "Failed to create thread 1"); in run()
55 SCX_FAIL_IF(pthread_join(threads[0], &ret), "thread 0 failed"); in run()
56 SCX_FAIL_IF(pthread_join(threads[1], &ret), "thread 1 failed"); in run()
H A Dscx_test.h94 #define SCX_FAIL_IF(__cond, __fmt, ...) \ macro
100 #define SCX_GT(_x, _y) SCX_FAIL_IF((_x) <= (_y), "Expected %s > %s (%lu > %lu)", \
102 #define SCX_GE(_x, _y) SCX_FAIL_IF((_x) < (_y), "Expected %s >= %s (%lu >= %lu)", \
104 #define SCX_LT(_x, _y) SCX_FAIL_IF((_x) >= (_y), "Expected %s < %s (%lu < %lu)", \
106 #define SCX_LE(_x, _y) SCX_FAIL_IF((_x) > (_y), "Expected %s <= %s (%lu <= %lu)", \
108 #define SCX_EQ(_x, _y) SCX_FAIL_IF((_x) != (_y), "Expected %s == %s (%lu == %lu)", \
110 #define SCX_ASSERT(_x) SCX_FAIL_IF(!(_x), "Expected %s to be true (%lu)", \
H A Dmaximal.c18 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
20 SCX_FAIL_IF(maximal__load(skel), "Failed to load skel"); in setup()
33 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dselect_cpu_vtime.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(select_cpu_vtime__load(skel), "Failed to load skel"); in setup()
36 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dddsp_bogus_dsq_fail.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(ddsp_bogus_dsq_fail__load(skel), "Failed to load skel"); in setup()
34 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
H A Dddsp_vtimelocal_fail.c18 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
20 SCX_FAIL_IF(ddsp_vtimelocal_fail__load(skel), "Failed to load skel"); in setup()
33 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
H A Dselect_cpu_dispatch_dbl_dsp.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(select_cpu_dispatch_dbl_dsp__load(skel), "Failed to load skel"); in setup()
34 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dselect_cpu_dispatch_bad_dsq.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(select_cpu_dispatch_bad_dsq__load(skel), "Failed to load skel"); in setup()
34 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Ddsp_local_on.c17 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(dsp_local_on__load(skel), "Failed to load skel"); in setup()
33 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
H A Dselect_cpu_dispatch.c21 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
23 SCX_FAIL_IF(select_cpu_dispatch__load(skel), "Failed to load skel"); in setup()
38 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dselect_cpu_dfl_nodispatch.c21 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
23 SCX_FAIL_IF(select_cpu_dfl_nodispatch__load(skel), "Failed to load skel"); in setup()
38 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dselect_cpu_dfl.c21 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
23 SCX_FAIL_IF(select_cpu_dfl__load(skel), "Failed to load skel"); in setup()
38 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
H A Dcreate_dsq.c18 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
20 SCX_FAIL_IF(create_dsq__load(skel), "Failed to load skel"); in setup()
H A Dminimal.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(minimal__load(skel), "Failed to load skel"); in setup()
H A Denq_select_cpu_fails.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(enq_select_cpu_fails__load(skel), "Failed to load skel"); in setup()
H A Denq_last_no_enq_fails.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(enq_last_no_enq_fails__load(skel), "Failed to load skel"); in setup()
H A Dprog_run.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(prog_run__load(skel), "Failed to load skel"); in setup()
H A Dhotplug.c53 SCX_FAIL_IF(!skel, "Failed to open"); in test_hotplug()
55 SCX_FAIL_IF(hotplug__load(skel), "Failed to load skel"); in test_hotplug()