Home
last modified time | relevance | path

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

/tools/testing/selftests/sched_ext/
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()
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()
107 SCX_FAIL_IF(waitpid(pids[i], &status, 0) != pids[i], in run_test()
[all …]
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()
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)", \
A Dallowed_cpus.c17 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
19 SCX_FAIL_IF(allowed_cpus__load(skel), "Failed to load skel"); in setup()
56 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
59 SCX_FAIL_IF(test_select_cpu_from_user(skel), "Failed to pick idle CPU"); in run()
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()
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()
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()
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()
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()
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()
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()
A Dnuma.c17 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(numa__load(skel), "Failed to load skel"); in setup()
34 SCX_FAIL_IF(!link, "Failed to attach scheduler"); in run()
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()
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()
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()
A Denq_select_cpu.c19 SCX_FAIL_IF(!skel, "Failed to open"); in setup()
21 SCX_FAIL_IF(enq_select_cpu__load(skel), "Failed to load skel"); in setup()
64 SCX_FAIL_IF(test_select_cpu_from_user(skel), "Failed to pick idle CPU"); in run()
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()
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()
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()
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()
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()

Completed in 22 milliseconds