test-tool: Require script argument

The purpose of the tool has shifted from running a limited set
of performance tests repeatedly to collect performance data
and catch regressions, to a wrapper that drives gnome-shell via
scripts for tests.

With that, the concept of a "default" script doesn't really make
sense anymore.

Instead, turn the argument from an optional flag into a required
parameter. This will allow us to stop bundling the existing tests
in a follow-up commit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2812>
This commit is contained in:
Florian Müllner 2023-07-07 15:36:18 +02:00
parent 9bb003463c
commit e4da6a347b
2 changed files with 4 additions and 9 deletions

View file

@ -71,8 +71,8 @@ foreach shell_test : shell_tests
args: [
test_tool,
'--headless',
'--script=@0@/js/perf/@1@.js'.format(meson.project_source_root(), test_name),
options,
'@0@/js/perf/@1@.js'.format(meson.project_source_root(), test_name),
],
is_parallel: false,
env: shell_testenv,