Commit graph

8 commits

Author SHA1 Message Date
Bastien Nocera
ca79f80635 intel-pstate: Don't show degraded perf with CPUs with no turbo
Don't show a degraded performance, caused by "no_turbo" being set,
when the CPU doesn't support TurboBoost at all.

Closes: #75
2022-01-31 10:50:47 +01:00
Bastien Nocera
c63503be97 tests: Add test to detect CPUs without Turbo support
Reproduces the hardware mentioned in
https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues/75
2022-01-31 10:50:47 +01:00
Bastien Nocera
ae8e90892b tests: Write tests for traceback avoidance on D-Bus errors 2021-11-08 16:27:56 +01:00
Bastien Nocera
393cb81aa8 tests: Add test for HoldProfile when not authorised 2021-10-28 11:19:11 +02:00
Bastien Nocera
141d2ee64f tests: Rename test_not_allowed()
It only tests for the ActiveProfile authorisation.
2021-10-28 11:19:11 +02:00
Bastien Nocera
2a25f7d4cd tests: Test when switch-profile permission isn't granted 2021-09-28 17:19:40 +02:00
Bastien Nocera
bb92c628b4 tests: Start mock polkitd in the tests
And allow all us to perform all the actions.
2021-09-28 12:57:44 +02:00
Bastien Nocera
e9f5b04258 tests: Rename integration test script
Add the python suffix.
2021-09-07 23:00:12 +02:00
Renamed from tests/integration-test (Browse further)