-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Paul,
in attachment the patch to modify the pwrmgmnt script for lava in order to take into account the new pm-qa scripts. Let me know if everything is ok or not. Thanks for your help ! -- Daniel - -- <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOSvJQAAoJEAKBbMCpUGYA85sH/3IlfWWunRuLtOcLenOosM73 EkNSFPY5+HN1txtL0rIY//P4TRFiVoKciV6+Muzp6KIhqytRLNNkh0tpz6rfOM7A G5mv6O2qQGwTpWN7GyqWUMkewxtTUCXmzy+ITkgK0RIDeUXiLftDtW5KZyW2W0GT cnYe8mUv5/d5zxucCoMScOcpxLfTRIVh5+1EvkcRtD5TSoTX5eqzV29bb+EchTun ZCg25fDTFCa5+kaqdfaygdgNGsn4Q7wgIunduN/hEs4mQAftU2BQJ7JtM7XGje90 2MaBDcX/GMpjV2FQ8DWcXg9U/9IVLHfRWcM6+PAY6cesPAtpsreVHL7loqgZENY= =8Fkx -----END PGP SIGNATURE-----
Subject: pm-qa integration script From: Daniel Lezcano <daniel.lezc...@linaro.org> Changes in the lava pm-qa script to take into account the new pm-qa. Signed-off-by: Daniel Lezcano <daniel.lezc...@linaro.org> --- abrek/test_definitions/pwrmgmt.py | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) Index: lava-test/abrek/test_definitions/pwrmgmt.py =================================================================== --- lava-test.orig/abrek/test_definitions/pwrmgmt.py +++ lava-test/abrek/test_definitions/pwrmgmt.py @@ -16,18 +16,28 @@ import abrek.testdef -INSTALLSTEPS = ['git clone git://git.linaro.org/people/torez/pm-qa.git', +INSTALLSTEPS = ['git clone git://git.linaro.org/tools/pm-qa.git', 'cd pm-qa && make clean && make all'] -RUNSTEPS = ['cd pm-qa && awk -f testcases.awk run_template'] -DEPS = ['git-core', 'make', 'alsa-utils', 'pulseaudio-utils', 'lame', 'festival', 'wget'] +RUNSTEPS = ['cd pm-qa && make check'] +DEPS = ['git-core', 'make'] pwrmgmtinst = abrek.testdef.AbrekTestInstaller(INSTALLSTEPS, deps=DEPS) pwrmgmtrun = abrek.testdef.AbrekTestRunner(RUNSTEPS) -# test case name is between "pm-qa-" and ":" and results and/or -# measurements are rest of the line -PATTERN = "^pm-qa-(?P<test_case_id>\w+):\s+(?P<message>.*)" +# test case name is before ":" , the test log is between ":" and "...", the result is after "..." +# Each test case is separated with a test description beginning with "#" +# Example: +#### +#### cpufreq_02: +#### test the cpufreq framework is available for governor +#### +#cpufreq_02.0/cpu0: checking scaling_available_governors exists... pass +#cpufreq_02.1/cpu0: checking scaling_governor exists... pass +#cpufreq_02.0/cpu1: checking scaling_available_governors exists... pass +#cpufreq_02.1/cpu1: checking scaling_governor exists... pass + +PATTERN = "^(?P<test_case_id>\w+):\s+(?P<message>.*)" pwrmgmtparser = abrek.testdef.AbrekTestParser(PATTERN, appendall={'result':'pass'})
_______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev