Jussi Pakkanen
35e809fc5e
Store run target names in build.
...
This way we can easily check that we only provide builtin targets such
as clang-format if the user has not provided their own.
5 years ago
James Hilliard
315ab997b4
Add tests for sources that are disablers.
...
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
Jussi Pakkanen
972535a6ac
Condense test dirs.
6 years ago
Jussi Pakkanen
59d0434039
Removed two deprecations from 2016.
7 years ago
Patrick Griffis
67f0a1a44d
Fix run_target() accepting ConfigureFile for command
8 years ago
Nirbheek Chauhan
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
...
We automatically convert that to use sys.executable now which is
always available on all platforms (because we're running with it).
On some platforms like NetBSD, `python` doesn't exist, and you must
use a specific python version. On most other distros, `python` is
Python 2, and we don't want to depend on that.
Closes https://github.com/mesonbuild/meson/issues/695
All these scripts were being used as `find_program()`, so we do not
lose any test coverage by doing this.
8 years ago
Jussi Pakkanen
0a2daf84eb
No longer require a binary called python3 on Windows. The default name is "python".
8 years ago
Nirbheek Chauhan
66ec8c4258
tests: Check that run_target can find a files() argument
...
Tests https://github.com/mesonbuild/meson/issues/957
8 years ago
Jussi Pakkanen
c970d656b1
All_args should always be a list. Closes #778 .
8 years ago
Jussi Pakkanen
d26ab47072
Can use custom targets as executables to run in a run_target.
8 years ago
Jussi Pakkanen
9235fd4ec1
Permit use of file objects in run targets.
8 years ago
Jussi Pakkanen
70e84f9080
Use new run_target format.
9 years ago
Jussi Pakkanen
0733c0f9a1
Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target.
9 years ago
Jussi Pakkanen
ea4fe8e417
Run_target can run binaries obtained with find_program.
9 years ago
Jussi Pakkanen
4e8c4035e5
Can have built binaries in run_targets. Closes #264 .
9 years ago
Jussi Pakkanen
73ca870bef
Can specify standalone command targets.
11 years ago