Commit Graph

2 Commits

Author SHA1 Message Date
Naveen Saini
0e8b3cd2c5 thermald.py: fix 'thermald --no-daemon' taking forever issue
skip test if CONFIG_THERMAL_EMULATION is not set

Observed multiple issues:

(1) Randomly not picking pid of thermld daemon (not sure why)
(2) 'thermald --no-daemon --loglevle=info' taking forever

Increase sleep time to make sure pid is avaialble.
Added timeout for the command.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-04 11:32:57 +08:00
Yeoh Ee Peng
60df7066e5 runtime/thermald: Enable sanity test
Enable thermald sanity test:
     - test that thermal daemon was monitoring temperature
     - test that thermal emulation was enabled in the image
     - test that emulation of temparature changes will be
       detected by thermal daemon

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-02 12:08:51 +08:00