/linux/tools/testing/selftests/sched_ext/ |
H A D | init_enable_count.c | 28 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 D | reload_loop.c | 22 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 D | scx_test.h | 94 #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 D | maximal.c | 18 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 D | select_cpu_vtime.c | 19 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 D | ddsp_bogus_dsq_fail.c | 19 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 D | ddsp_vtimelocal_fail.c | 18 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 D | select_cpu_dispatch_dbl_dsp.c | 19 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 D | select_cpu_dispatch_bad_dsq.c | 19 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 D | dsp_local_on.c | 17 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 D | select_cpu_dispatch.c | 21 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 D | select_cpu_dfl_nodispatch.c | 21 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 D | select_cpu_dfl.c | 21 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 D | create_dsq.c | 18 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 D | minimal.c | 19 SCX_FAIL_IF(!skel, "Failed to open"); in setup() 21 SCX_FAIL_IF(minimal__load(skel), "Failed to load skel"); in setup()
|
H A D | enq_select_cpu_fails.c | 19 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 D | enq_last_no_enq_fails.c | 19 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 D | prog_run.c | 19 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 D | hotplug.c | 53 SCX_FAIL_IF(!skel, "Failed to open"); in test_hotplug() 55 SCX_FAIL_IF(hotplug__load(skel), "Failed to load skel"); in test_hotplug()
|