Nirbheek Chauhan
b2fb4f9d66
scripts: Use destdir_join fix for all DESTDIR prefixing ( #598 )
9 years ago
Hemmo Nieminen
30bbcded23
meson_test: Fix a bug in valgrind argument handling.
...
Do not modify the wrap command argument from the calling function.
Appending the valgrind arguments to the wrap list argument will cause all
the valgrind arguments to cumulate from all the tests to the wrapper
command itself.
9 years ago
Jussi Pakkanen
205037047f
Try to delete target files before installing. Closes #578 .
9 years ago
Jussi Pakkanen
0482635c12
Handle case of install_subdirring a subdir.
9 years ago
Jussi Pakkanen
beb6827413
Installing subdirs now merges with existing files in the target dir.
9 years ago
Jussi Pakkanen
9dace5fc5e
Always initialise final_command.
9 years ago
Jussi Pakkanen
aac7f6ef1f
Since we only care about shebang line and sane ones use plain ASCII, use an encoding that can not fail. Closes #561 .
9 years ago
Jussi Pakkanen
1b78e354a6
Join windows-style destdir paths correctly. Closes #567 .
9 years ago
Jussi Pakkanen
3b3c05f6b1
Can pass extra args to xgettext. Closes #554 .
9 years ago
Emmanuele Bassi
8998e44cd9
Support passing extra arguments to gtkdoc-fixxref
...
The extra arguments are typically used to specified the location of
installed API references that gtk-doc can use to create cross links
for symbols.
Fixes #555
9 years ago
Jussi Pakkanen
1a0938cc25
Automagic scan-build support.
9 years ago
Jussi Pakkanen
dc148e0702
Remove all special casing for gettext and use elementary operations instead.
9 years ago
Minijackson
cab1c3f2bf
Fix argv count requirement in delwithsuffix.py script
9 years ago
Nirbheek Chauhan
ed774a68c6
scripts/meson_exe: prepend extra_paths to PATH instead of appending
...
This way locally-built DLLs and EXEs are preferred over system-wide ones
9 years ago
Nirbheek Chauhan
e3bc2e5c68
ninja: Set PATH for CustomTargets with built EXEs on Windows
...
When a CustomTarget is run with a command that is an executable built
by the project which also has a DLL built in the same project as a
dependency, the EXE can't run on Windows because the DLL can't be found.
On UNIX-like systems, we set the RPATH using the linker so these
dependencies can be found, but on Windows the only way is to set the
PATH environment variable.
The same problem exists for tests, so we reuse that infrastructure by
creating a new meson_exe.py script that can be used as a wrapper to run
CustomTarget commands on Windows. This can later also be extended to add
support for setting an environment while calling the command needed to
generate a CustomTarget: https://github.com/mesonbuild/meson/issues/266
9 years ago
trhd
a76693f338
Fix a bug (typo) seen when printing the logs from failed tests. ( #513 )
9 years ago
Jussi Pakkanen
ea092fefc2
Use individual tempdirs for building and installing in unit tests.
9 years ago
Hemmo Nieminen
5764bee2f4
meson_test: Don't print logs from failing tests that are expected to fail.
9 years ago
Hemmo Nieminen
297749581d
meson_test: Add support for --print-errorlogs option.
...
This option can be used to control whether the logs from failing tests
should be shown to the user after the tests have been executed.
9 years ago
Hemmo Nieminen
f2868420ca
meson_test: Add support for --no-stdsplit option.
9 years ago
Hemmo Nieminen
457ecb6be7
meson_test: Move "options" to a global variable.
9 years ago
Jussi Pakkanen
67377e69b5
Invoke depfixer in-process to make it faster. Closes #480 .
9 years ago
Nirbheek Chauhan
d5c9b98cab
meson_install.py: Start by checking if the shebang is directly runnable
...
If it's just runnable as-is, then we don't need to do fancy basename detection
and such to find the interpretor to use for running the script.
9 years ago
Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
9 years ago
Nirbheek Chauhan
a15e784851
meson_install: os.symlink may be implemented and still not work
...
Requires Administrator access by default to work
9 years ago
Jussi Pakkanen
091b782e43
Prevent state leaks when running tests in-process.
9 years ago
Jussi Pakkanen
edd61dcf81
When killing a frozen process, take all its children with it. Closes #377 .
9 years ago
Jussi Pakkanen
58d7db4a6c
Some windows fixes.
9 years ago
Jussi Pakkanen
b91134b806
Better error message when failing to run install script. Closes #361 .
9 years ago
Jussi Pakkanen
84456537da
Fix some issues that break pypi installs and bump version to upload new version.
9 years ago
Jussi Pakkanen
d6e176f455
Made gtkdoc and run targets work.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago