-
Notifications
You must be signed in to change notification settings - Fork 21
Added QCS6490 related changes for Watchdog test #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
log_pass "$TESTNAME : Test Passed" | ||
echo "$TESTNAME PASS" > "$res_file" | ||
else | ||
log_fail "/dev/watchdog node is not present." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if /dev/watchdog is missing, test could still pass if the kernel configs are correct. But ideally.
- Validate presence of a watchdog driver (eg: module loaded or DT node)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified and added checks to verify socid and skip if the target is qcs6490
log_fail "$TESTNAME : Test Failed" | ||
echo "$TESTNAME FAIL" > "$res_file" | ||
CONFIGS="CONFIG_WATCHDOG CONFIG_ARM_SMC_WATCHDOG CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED" | ||
check_kernel_config "$CONFIGS" || { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better check for non-zero with condition for better debuggin in CI.
if [ $? -ne 0 ]; then log_fail "$TESTNAME : Required kernel configs missing" echo "$TESTNAME FAIL" > "$res_file" exit 1 fi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the test to add log_fail "$TESTNAME : Required kernel configs missing"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Require few enhancements.
841fb4b
to
aab2982
Compare
Moved PCIe directory out of FunctionalArea to simplify path structure Signed-off-by: Sai-teja573 <[email protected]>
Will address in different PR |
This commit is to add QCS6490 support to watchdog test as it does not support upstream watchdog