Conversation
Runner/suites/Kernel/Baseport/dmabuf_heap_kselftest/dmabuf_heap_kselftest.yaml
Show resolved
Hide resolved
90efb69 to
6b50d76
Compare
|
This one should be split into 3 commits, unlike the simple one commit and one-testcase PR. It currently combines:
|
This should still be split into 3 commits. Also address the structural commensts. The PR is 1 commit / 7 files / 3 logical chunks |
Add the helper function to check kernel optional config Signed-off-by: Vamsee Narapareddi <vnarapar@qti.qualcomm.com>
This test validates the DMA-BUF subsystem configuration on Qualcomm platforms, including kernel configuration, device tree setup, and system interfaces Signed-off-by: Vamsee Narapareddi <vnarapar@qti.qualcomm.com>
This test runs the `dmabuf-heap` binary from the Linux kernel selftests suite to validate DMA-BUF heap functionality Signed-off-by: Vamsee Narapareddi <vnarapar@qti.qualcomm.com>
smuppand
left a comment
There was a problem hiding this comment.
Kindly close the comments that have been addressed with the updated patches.
|
|
||
| TESTNAME="dmabuf" | ||
| test_path=$(find_test_case_by_name "$TESTNAME") | ||
| cd "$test_path" || exit 1 |
There was a problem hiding this comment.
Validate test_path, write .res, and exit through the normal flow instead of direct exit 1.
| log_info "============ Starting $TESTNAME Testcase =======================================" | ||
| log_info "================================================================================" | ||
|
|
||
| if ! check_dependencies "find grep basename"; then |
There was a problem hiding this comment.
Add awk to the dependency list, or remove the later awk usage.
| else | ||
| log_fail "None of the requested nodes were found." | ||
| echo "$TESTNAME FAIL" > "$res_file" | ||
| exit 1 |
There was a problem hiding this comment.
Set pass=false and continue to the common final result path instead of exit 1 here.
Added the tests to check DMA configs, Device Tree Validation and upstream kselftests