- 06 Dec, 2019 10 commits
-
-
Enric Balletbo i Serra authored
Add a Lava-Test Definition to be able to run the test suite in the LAVA dispatcher using lqa. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks the embedded controller and other MCU ABI to ensure that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Enric Balletbo i Serra authored
Python community recommends against making the python name point to Python 3. The PEP-394 states that: "If the python command is installed, it should invoke the same version of Python as the python2 command." Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Enric Balletbo i Serra authored
This feature never landed to mainline and is failing for all devices, so remove the test. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
Frequency sysfs attribute have been replaced by the standard sampling_frequency after 5.4.0. We need to check the version of running kernel to decide if we must check it. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
Frequency sysfs attribute have been replaced by the standard sampling_frequency after 5.4.0. We need to check the version of running kernel to decide if we must check it. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
Implement a helper to simplify the code and avoid code duplication. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
Add one function to convert version major and minor to an integer. Add a function to get the running kernel version and convert it using the previous function. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The line where base_patch was defined was dropped during merge or commit rework. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
In order to avoid code duplication or errors and to simplify code, this patch adds a function to return the content of a file. It also replaces pieces of code reading sysfs files by the new function. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
- 05 Dec, 2019 11 commits
-
-
Fabien Lahoudere authored
ACCEL_1G_IN_MS2 and ACCEL_MAG_VALID_OFFSET variables are not global to the class but local to the function. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
This patch adds a function to check that the backlight brightness affects value of duty cycle of the PWM in debugfs. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
In order to verify that accelerometer data are consistent, we compute the magnitude that should beclose to 1G. This patch is inspired from kernel_CrosECSysfsAccel.py [1] [1] https://chromium.googlesource.com/chromiumos/third_party/autotest/+/refs/heads/master/client/site_tests/kernel_CrosECSysfs/kernel_CrosECSysfs.pySigned-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The script checks the RTC ABI that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks the extcon usbc ABI that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks the battery ABI that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks in the charger power supply ABI that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks the IIO gyroscope ABI by verifying that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Fabien Lahoudere authored
The scripts checks the IIO accelerometer ABI by verifying that all required files are present. Signed-off-by:
Fabien Lahoudere <fabien.lahoudere@collabora.com> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Enric Balletbo i Serra authored
The cutoff tests should only run if the EC_FEATURE_BATTERY is supported by the Embedded Controller. Also assert the sysfs ile exists. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Enric Balletbo i Serra authored
This is a basic script test written in python to test basic functionality on CrOS EC. The purpose is use this script as a base for a more complex tests. Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-