fixing ACPI wakealarm test?

Al Stone al.stone at linaro.org
Tue Sep 26 23:27:29 UTC 2017


So, some platforms don't really have an ACPI wake alarm, but the test is set to
essentially always be run:

FWTS_REGISTER("wakealarm", &wakealarm_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH |
FWTS_FLAG_ROOT_PRIV)

Is there a recommended way to make a test more hardware specific?  Granted, if
I run FWTS on the platform, I can double check and make sure /sys/class/rtc/rtc0
exists (or something like that); if I run FWTS elsewhere, though, that's clearly
not going to work.  I know I've added options in the past for architectures, but
this is specific to an individual machine and it would seem like overkill to
put in options for specific machines.

Suggestions?

BTW, I was not able to file a bug for this without registering with Ubuntu One;
is that really necessary?

-- 
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Linaro Enterprise Group
al.stone at linaro.org
-----------------------------------



More information about the fwts-devel mailing list