tests: Add test running basic perf test

This test runs all of GNOME Shell using the headless backend inside a
mocked D-Bus environment. The basic test tests, well, basic things, like
the panel menu, the overview, showing the app grid view, as well as
going back to the session view.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1349>
This commit is contained in:
Jonas Ådahl
2022-08-17 16:43:13 +02:00
parent 4c10608451
commit bcc4d15fdf
5 changed files with 42 additions and 10 deletions

View File

@ -77,7 +77,7 @@ function _getPerfHelper() {
}
function _spawnPerfHelper() {
let path = Config.LIBEXECDIR;
let path = GLib.getenv('GNOME_SHELL_BUILDDIR') || Config.LIBEXECDIR;
let command = `${path}/gnome-shell-perf-helper`;
Util.trySpawnCommandLine(command);
}