diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2024-01-31 17:48:01 -0500 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-02-20 15:53:33 -0700 |
commit | 4a679c5afca027d7f4668f51693f7cce589038f5 (patch) | |
tree | 0ba51a3b6b0aa33400cf4610e092d2f74eed495b /tools/testing/selftests/Makefile | |
parent | 2dd0b5a8fcc4f6fef307c79a3ff1d91d9595004d (diff) | |
download | linux-4a679c5afca027d7f4668f51693f7cce589038f5.tar.gz linux-4a679c5afca027d7f4668f51693f7cce589038f5.tar.bz2 linux-4a679c5afca027d7f4668f51693f7cce589038f5.zip |
selftests: Add test to verify power supply properties
Add a kselftest that verifies power supply properties from sysfs and
uevent. It checks whether they are present, readable and return valid
values.
This initial set of properties is not comprehensive, but rather the ones
that I was able to validate locally.
Co-developed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r-- | tools/testing/selftests/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index c5b4574045b3..7e5960cda08c 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -67,6 +67,7 @@ TARGETS += nsfs TARGETS += perf_events TARGETS += pidfd TARGETS += pid_namespace +TARGETS += power_supply TARGETS += powerpc TARGETS += prctl TARGETS += proc |