7 Commits

Author SHA1 Message Date
Jani Nikula
18170d211c tests: limit pm_backlight actual brightness tolerance between 0 and max
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2016-05-03 17:20:06 +03:00
Jani Nikula
7afd94ed62 tests: add context param to pm_backlight tests
We'll be adding more context for the subtests than just the max
brightness.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2016-05-03 17:20:06 +03:00
Jani Nikula
77a76ba09a tests: use igt_assert_lte to verify pm_backlight test results
Gives out better diagnostics than just igt_asssert.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2016-05-03 17:20:06 +03:00
Daniel Stone
de7ccdd083 tests: Run igt.cocci
Signed-off-by: Daniel Stone <daniels@collabora.com>
2015-11-03 19:46:11 +00:00
Thomas Wood
804e11f40d lib: add a single include header
Add a header that includes all the headers for the library. This allows
reorganisation of the library without affecting programs using it and
also simplifies the headers that need to be included to use the library.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-08-21 09:37:10 +01:00
Jesse Barnes
68d1b532fa tests/pm_backlight: mark simple test as basic
We should be able to adjust the backlight and observe changes in sysfs.

Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2015-08-14 09:27:33 -07:00
Antti Koskipaa
f386741932 tests/pm_backlight: Add backlight test
This is a basic sanity test of the backlight sysfs interface.

v2:
 - Add jani's suggestion for immediate readback
 - Remove unused parameter from test_and_verify()
 - Add fade test

Issue: VIZ-3377
Signed-off-by: Antti Koskipaa <antti.koskipaa@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-05-28 18:16:59 +01:00