lp:linaro-power-qa

Created by Linaro Power Management Working Group and last modified
Get this branch:
bzr branch lp:linaro-power-qa

Related bugs

Related blueprints

Branch information

Owner:
Linaro Power Management Working Group
Project:
Linaro PMWG QA
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at git://git.linaro.org/tools/pm-qa.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 5 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 10 seconds — see the log

Recent revisions

243. By Zhengwang Ruan <email address hidden>

Android.mk: fix compiling errors caused by unused parameters

Android enables '-Wall -Werror' compiling parameters by default, as a result
compiling errors are caused in cpuidle and utils, so add '-Wno-error' to disable
this check.

Signed-off-by: Zhengwang Ruan <email address hidden>

242. By Luis

Add missing phony targets

The following patch adds some missing phony targets.

2019-01-11 Luis Machado <email address hidden>

 * Makefile: New phony target list.
 * Test.mk: Likewise.

Signed-off-by: Luis Machado <email address hidden>

241. By Luis

Add install target

The following patch adds an install target so we can install the utils/scripts
somewhere. The default prefix is /opt/pm-qa.

2019-01-11 Luis Machado <email address hidden>

 * Makefile (prefix, SRC, EXEC, SUBDIRS, INSTALL_FILES): New variables.
 (install): New target.
 * README: Document install target.

Signed-off-by: Luis Machado <email address hidden>

240. By Luis

Adjust compiler flag variables

In order to pass additional compiler flags while still keeping the required
flags intact (-pthread for example), we add a local set of flags on top of the
exsiting CFLAGS.

2019-01-11 Luis Machado <email address hidden>

 * Test.mk (CFLAGS): Set to "-g -Wall"
 (FLAGS): New variable. Set to -pthread.
 Document variables.
 ($(EXEC): Use FLAGS.

Signed-off-by: Luis Machado <email address hidden>

239. By Luis

Invoke scripts with sudo

We were requiring the user to run the whole makefile as sudo. The following
patch uses sudo to call the sanity check scripts and the functional tests only.

2019-01-11 Luis Machado <email address hidden>

 * Test.mk: Invoke sanity tests and functional tests with sudo.

Signed-off-by: Luis Machado <email address hidden>

238. By Luis

Remove utils/utils_sanity.sh

This sanity check is a dummy one. It doesn't check anything at the moment, so
deleting it seems to be appropriate.

2019-01-11 Luis Machado <email address hidden>

 * utils/utils_sanity.sh: Remove.

Signed-off-by: Luis Machado <email address hidden>

237. By Luis

Make the default target only build the utils

The following patch adjusts the main Makefile and secondary Makefile
(Test.mk) so the default target only builds the pm-qa utils from sources,
without running the tests.

Also document some variables and targets.

2018-01-11 Luis Machado <email address hidden>

 * Makefile: Document target "all".
 * README: Document how to build only the pm-qa utils.
 * Test.mk: Document misc variables and targets.
 (SRC): Hold list of all utils' .c files.
 ($(EXEC)): New target to build all utils from sources.
 (check): Move target closer to uncheck target.

Signed-off-by: Luis Machado <email address hidden>

236. By Amit Kucheria

PMQA: Makefile: Support cross-compilation

Don't use gcc directly, use the CC variable to allow passing something
like CC=aarch64-linux-gnu-gcc in order to cross compile to utils.

This allows host-side compilation and bundling of the tools into a small
ramdisk on the target.

Signed-off-by: Amit Kucheria <email address hidden>

235. By Lisa Nguyen

functions: clean up whitespace

In vi/vim, some code blocks were not aligned properly, and there
were extra blank lines that needed to be removed. This should
help to improve readability.

Signed-off-by: Lisa Nguyen <email address hidden>

234. By Thierry Escande <email address hidden>

functions: switch to userspace governor in restore_frequencies()

The governor needs to be set to 'userspace' before setting the original
frequency back.

This fixes cpufreq_06.sh that otherwise logs 'sh: echo: I/O error'
messages in its log file.

Signed-off-by: Thierry Escande <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.