Nirbheek Chauhan
042e0b3467
gtkdochelper: Add error checking and printing
...
This helps debug why things are failing
2016-07-24 13:48:12 +05:30
Nirbheek Chauhan
69d9c2228d
vs: Fix Meson invocation while doing regen ( #646 )
...
The Meson script is not always in $scriptdir/../../ -- for instance if
installed with pip on Windows, the scriptdir is in:
C:/Python35/Lib/site-packages/meson-0.33.0.dev1-py3.5.egg/mesonbuild/scripts
and the meson.py script is in:
C:/Python35/Scripts
So, let's save the path available as Environment().meson_script_file
into the coredata.dat private file and use that to invoke Meson when
doing regen.
Also, let's fetch the backend that was used from the coredata too
instead of hard-coding vs2010.
Both these were causing a hard failure while doing regen with msbuild or
visual studio.
2016-07-19 00:00:17 +03:00
Jussi Pakkanen
64919b1c74
Merge pull request #417 from nirbheek/dll-paths
...
Fix filenames and paths used in DLL shared library generation
2016-07-13 22:18:50 +03:00
Jussi Pakkanen
38a896ae51
Create a log file of all files installed.
2016-07-12 13:43:49 +03:00
Nirbheek Chauhan
598997bdb5
scripts/install: Also strip '\' from the end of a path
...
Fixes installation of subdirs on Windows
2016-07-01 20:50:47 +05:30
Nirbheek Chauhan
b2fb4f9d66
scripts: Use destdir_join fix for all DESTDIR prefixing ( #598 )
2016-06-16 20:43:23 +03:00
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.
2016-06-06 10:28:00 +03:00
Jussi Pakkanen
205037047f
Try to delete target files before installing. Closes #578 .
2016-06-05 14:16:01 +03:00
Jussi Pakkanen
0482635c12
Handle case of install_subdirring a subdir.
2016-05-30 23:08:24 +03:00
Jussi Pakkanen
beb6827413
Installing subdirs now merges with existing files in the target dir.
2016-05-30 21:48:03 +03:00
Jussi Pakkanen
9dace5fc5e
Always initialise final_command.
2016-05-28 23:14:34 +03:00
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 .
2016-05-28 23:04:15 +03:00
Jussi Pakkanen
1b78e354a6
Join windows-style destdir paths correctly. Closes #567 .
2016-05-28 14:13:01 +03:00
Jussi Pakkanen
3b3c05f6b1
Can pass extra args to xgettext. Closes #554 .
2016-05-26 01:09:37 +03:00
Jussi Pakkanen
f3fa6c02a7
Merge pull request #556 from ebassi/gtkdoc-fixref
...
Support passing extra arguments to gtkdoc-fixxref
2016-05-25 18:00:15 +03:00
Jussi Pakkanen
babdb27570
Merge pull request #479 from mesonbuild/i18n
...
Moved gettext into i18n module.
2016-05-25 17:53:35 +03:00
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
2016-05-25 11:36:33 +01:00
Jussi Pakkanen
1a0938cc25
Automagic scan-build support.
2016-05-22 19:24:59 +03:00
Jussi Pakkanen
dc148e0702
Remove all special casing for gettext and use elementary operations instead.
2016-05-21 18:21:23 +03:00
Jussi Pakkanen
2e2df70dd0
Merge branch 'centricular-customtarget-path-windows'
2016-05-01 18:39:45 +03:00
Minijackson
cab1c3f2bf
Fix argv count requirement in delwithsuffix.py script
2016-04-28 14:10:34 +02:00
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
2016-04-18 22:51:24 +05:30
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
2016-04-15 05:49:42 +05:30
trhd
a76693f338
Fix a bug (typo) seen when printing the logs from failed tests. ( #513 )
2016-04-14 07:49:46 +03:00
Jussi Pakkanen
cab5ce4fc0
Merge pull request #438 from trhd/testing_options
...
New options for controlling test output.
2016-04-06 23:10:20 +03:00
Jussi Pakkanen
ea092fefc2
Use individual tempdirs for building and installing in unit tests.
2016-04-01 20:20:48 +03:00
Hemmo Nieminen
5764bee2f4
meson_test: Don't print logs from failing tests that are expected to fail.
2016-04-01 00:51:12 +03:00
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.
2016-04-01 00:51:12 +03:00
Hemmo Nieminen
f2868420ca
meson_test: Add support for --no-stdsplit option.
2016-04-01 00:51:12 +03:00
Hemmo Nieminen
457ecb6be7
meson_test: Move "options" to a global variable.
2016-04-01 00:51:12 +03:00
Jussi Pakkanen
67377e69b5
Invoke depfixer in-process to make it faster. Closes #480 .
2016-03-30 22:09:36 +03:00
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.
2016-03-17 16:16:35 +05:30
Nicolas Schneider
40a7287a59
vs2010: properly check whether solution needs to be regenerated
2016-02-25 23:13:29 +01:00
Nirbheek Chauhan
a15e784851
meson_install: os.symlink may be implemented and still not work
...
Requires Administrator access by default to work
2016-02-20 14:28:28 +02:00
Jussi Pakkanen
091b782e43
Prevent state leaks when running tests in-process.
2016-02-17 23:27:18 +02:00
Jussi Pakkanen
edd61dcf81
When killing a frozen process, take all its children with it. Closes #377 .
2016-02-14 22:11:48 +02:00
Jussi Pakkanen
58d7db4a6c
Some windows fixes.
2016-01-23 17:45:01 +02:00
Jussi Pakkanen
b91134b806
Better error message when failing to run install script. Closes #361 .
2016-01-23 13:24:30 +02:00
Jussi Pakkanen
84456537da
Fix some issues that break pypi installs and bump version to upload new version.
2016-01-16 20:59:34 +02:00
Jussi Pakkanen
d6e176f455
Made gtkdoc and run targets work.
2016-01-16 18:04:59 +02:00
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
2016-01-16 17:35:29 +02:00