Pre- and post S3/S4 functions

Alex Hung alex.hung at canonical.com
Mon Dec 17 09:53:29 UTC 2012


Hi,

I am wondering there is a need to implement a feature to provide a hook 
for executing a script (or just an application) before and after S3 and 
S4 stress tests.

The function may be handy at various some scenario. For example, we can 
play a video or a song if it is suspected a system has such as bug; or 
we can write a value to hardware register to check whether that will fix 
a specific problems.

Some concerns may be related to this topic:

1. The may extend fwts to be more than a firmware test suite (like a 
generic test suite) and that may or may not be desirable.

2. security issue: if we allow any script to be executed, this may 
create a security hole.

3. alternative solution: instead of running a script by fwts, can we 
simply use script to run fwts and do the pre/post functions?

Any comments?

Cheers,
Alex Hung



More information about the fwts-devel mailing list