| Age | Commit message (Collapse) | Author |
|
Since "meson test" already has both -q and --quiet it makes a lot of
sense to add the short option to "meson install" too for reasons of
symmetry.
|
|
|
|
Let's allow users to configure how many lines are shown at most when
a test fails.
|
|
This is very similar to --gdb, except it doesn't spawn GDB, but
connects stdin/stdout/stderr directly to the test itself. This allows
interacting with integration tests that spawn a shell in a container
or virtual machine when the test fails.
In systemd we're migrating our integration tests to run using the
meson test runner. We want to allow interactive debugging of failed
tests directly in the virtual machine or container that is spawned
to run the test. To make this possible, we need meson test to connect
stdin/stdout/stderr of the test directly to the user's terminal, just
like is done with the --gdb option.
|
|
This adds bash completion to everything that I could think of except for
the rewriter.
|
|
|
|
E.g. "meson test<tab>"
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
|
|
|
If x was a known short option, would complete to "-". If unknown, "--".
|
|
|
|
Populate the _meson-init() completion function.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
|
|
Define subcommands as an array so that they can be reused for the
top-level sub-command completion.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
|
|
Add all meson sub-commands to the autocompletion script.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
|
|
Add empty functions for all commands defined in the autocompletion script.
When these functions are not defined, bash raises the following error:
$ meson init <TAB>-bash: _meson-init: command not found
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
|
|
Move _meson-introspect() to follow the command list defined at the top
of the script which follows the help message order.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
|
|
|
|
|