Skip to content

Commit 9df3c06

Browse files
committed
Added QCS6490 support for Watchdog test
This commit is to add QCS6490 support to watchdog test as it does not support upstream watchdog Signed-off-by: Vamsee Narapareddi <[email protected]>
1 parent 8e078f4 commit 9df3c06

File tree

1 file changed

+8
-4
lines changed
  • Runner/suites/Kernel/FunctionalArea/baseport/watchdog

1 file changed

+8
-4
lines changed

Runner/suites/Kernel/FunctionalArea/baseport/watchdog/run.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ if [ -e /dev/watchdog ]; then
4545
echo "$TESTNAME PASS" > "$res_file"
4646
exit 0
4747
else
48-
log_fail "/dev/watchdog node is not present."
49-
log_fail "$TESTNAME : Test Failed"
50-
echo "$TESTNAME FAIL" > "$res_file"
51-
exit 1
48+
CONFIGS="CONFIG_WATCHDOG CONFIG_ARM_SMC_WATCHDOG CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED"
49+
check_kernel_config "$CONFIGS" || {
50+
log_fail "$TESTNAME FAIL"
51+
echo "$TESTNAME FAIL" > "$res_file"
52+
exit 1
53+
}
54+
log_pass "$TESTNAME : Test Passed"
55+
echo "$TESTNAME PASS" > "$res_file"
5256
fi
5357
log_info "-------------------Completed $TESTNAME Testcase---------------------------"

0 commit comments

Comments
 (0)