Skip to content
Commit 0d0f2e94 authored by Hu Zhenyu's avatar Hu Zhenyu Committed by Anas Nashif
Browse files

tests: counter_basic_api will return pass even if no counter is found



In test_all_instances(), if ARRAY_SIZE(devices) is 0, the test is not
performed. At this time, the test result should be TC_FAIL, instead of
TC_PASS. A zassert is needed to filter this case.
Fixes: #45647

Signed-off-by: default avatarHu Zhenyu <zhenyu.hu@intel.com>
parent 3f9131ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment