/linux/tools/testing/selftests/sched_ext/ |
H A D | init_enable_count.c | 53 SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); in run_test() 61 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run_test() 64 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test() 67 SCX_FAIL_IF(status != 0, "Pre-forked child %d exited with status %d\n", i, in run_test() 76 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run_test() 81 SCX_FAIL_IF(pids[i] < 0, "Failed to fork child"); in run_test() 101 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test() 104 SCX_FAIL_IF(status != 0, "SCX child %d exited with status %d\n", i, in run_test() 116 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test() 119 SCX_FAIL_IF(status != 0, "Normal child %d exited with status %d\n", i, in run_test()
|
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 | reload_loop.c | 51 SCX_FAIL_IF(err, "Failed to create thread 0"); in run() 54 SCX_FAIL_IF(err, "Failed to create thread 1"); in run() 56 SCX_FAIL_IF(pthread_join(threads[0], &ret), "thread 0 failed"); in run() 57 SCX_FAIL_IF(pthread_join(threads[1], &ret), "thread 1 failed"); in run()
|
H A D | dsp_local_on.c | 17 SCX_FAIL_IF(!skel, "Failed to open"); in setup() 20 SCX_FAIL_IF(dsp_local_on__load(skel), "Failed to load skel"); in setup() 32 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
|
H A D | maximal.c | 18 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 30 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 and load skel"); in setup() 33 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
|
H A D | ddsp_vtimelocal_fail.c | 18 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 30 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
|
H A D | ddsp_bogus_dsq_fail.c | 19 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 31 SCX_FAIL_IF(!link, "Failed to attach struct_ops"); in run()
|
H A D | select_cpu_dispatch_bad_dsq.c | 19 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 31 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
|
H A D | select_cpu_dispatch_dbl_dsp.c | 19 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 31 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
|
H A D | select_cpu_dispatch.c | 21 SCX_FAIL_IF(!skel, "Failed to open and load skel"); in setup() 35 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 and load skel"); in setup() 35 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 and load skel"); in setup() 35 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
|