Nirbheek Chauhan
34394afce6
meson.py: Warn if the encoding is not UTF-8 compatible
8 years ago
Jussi Pakkanen
bfd190279c
Detect Qt5 properly on more platforms.
8 years ago
Nirbheek Chauhan
03cc991f4f
configure_file: Use utf-8 to write configured file
...
Closes #1085
8 years ago
Thibault Saunier
2584a9f27d
mesontest: Fix usage of test.env as it can be a build.EnvironmentVariables
8 years ago
Thibault Saunier
0ebf033f31
wrap: Allow specifying push URL in wrap files using git
8 years ago
Thibault Saunier
28cd23ab6e
wrap: Make sure that the cloned git repo is properly cloned
8 years ago
Thibault Saunier
3f6e06c930
mesontest: Fix the --wd option and rename it to -C to be coherent with ninja
8 years ago
Thibault Saunier
9644e8b8de
mesontest: Fix --list option
...
The listing code path could not be hit when running mesontest --list
8 years ago
Jussi Pakkanen
d651727208
Bootstrap test code with CMake.
8 years ago
Patrick Griffis
9a6db2eb2f
gnome.compile_resources(): Add export and install_header kwargs
...
This defaults to not exporting resources as that is generally what
you want but that does make this a breaking change. Along with that
if you export your resources you would want to install the header.
8 years ago
Patrick Griffis
8dd32506f4
gnome.compile_resources(): Add ability to output gresource bundles
...
Closes #1061
8 years ago
Patrick Griffis
587a0bb3d1
gnome: Update required version for glib-compile-resources depfile fixes
...
Note that this version is not yet released
8 years ago
Jussi Pakkanen
c9a46fcc93
Can set compiler arguments in Java.
8 years ago
Jussi Pakkanen
0250b2cce6
Can give many alternative names to find_program to simplify searching.
8 years ago
Jussi Pakkanen
82bb24b264
Made has_function survive optimization flags. Closes #1053 .
8 years ago
Jussi Pakkanen
8f41154827
Can specify headers to install with Files.
8 years ago
Jussi Pakkanen
aa9668a2fc
Merge pull request #730 from mesonbuild/newtest
...
New testing tool
8 years ago
Jussi Pakkanen
df4af2d122
Renamed test to plug hole in numbering.
8 years ago
Jussi Pakkanen
5b00c9b9c0
Dead code removal.
8 years ago
Jussi Pakkanen
a01919976e
Always specify installed data with a File object. Closes #858 .
8 years ago
Elliott Sales de Andrade
996f4d89f3
Disallow some keyword arguments to gnome.mkenums.
...
The install argument is allowed for CustomTargets, but we use
install_header as the setting now. Also, setting a generic template when
specifying the more specific source or header template shouldn't be
allowed.
8 years ago
Jussi Pakkanen
1ebc5c1ea0
Can run special tests with the new tool.
8 years ago
Jussi Pakkanen
c7ddce163f
All testing is now in mesontest.py, which simplifies a lot of stuff.
8 years ago
Jussi Pakkanen
39df22bf53
Made Meson test into a class rather than abusing global variables and as preparation for moving it elsewhere.
8 years ago
Jussi Pakkanen
e24229eae7
Can run benchmarks.
8 years ago
Jussi Pakkanen
077741097a
Run all tests if none are specified.
8 years ago
Jussi Pakkanen
def68cbc50
Use the same code for tests and benchmarks.
8 years ago
Jussi Pakkanen
0d619df2f3
Removed subsuite targets.
8 years ago
Jussi Pakkanen
951262d759
Removed Valgrind from core.
8 years ago
Jussi Pakkanen
a5a4c85eca
Can run tests under gdb.
8 years ago
Jussi Pakkanen
3f3c9c5329
Add option to run under gdb.
8 years ago
Jussi Pakkanen
ee90ce74e8
New test runner.
8 years ago
Jussi Pakkanen
621219ccb0
Removed duplicate log message for command running. Closes #1056 .
8 years ago
Elliott Sales de Andrade
d45db903ac
Rename test cases to remove duplicate numbers.
8 years ago
Jussi Pakkanen
070c6a72b2
Bump version for new development.
8 years ago
Jussi Pakkanen
4e3073f90a
Updated version number for release.
8 years ago
Elliott Sales de Andrade
330aebc186
Fix message to be checked in Qt5 unit test.
8 years ago
Nirbheek Chauhan
b438455ec1
Hotfix for cross-compilation from Windows to Linux
...
We currently pass cross-compiler options to the native compiler too and
when cross-compiling from Windows to Linux, `options` will contain
Linux-specific options which doesn't include `c_winlibs`.
The proper fix is to allow cross-info files to specify compiler options
and to maintain both cross and native compiler options in coredata, but
that will have to be done after the 0.36.0 release.
Also fixes a typo in MinGW cpp_winlibs option setting.
Closes #1029
8 years ago
Igor Gnatenko
900438882c
trivial: remove executable bits on gnome framework
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
c23c822196
Only add src_include_dir if it has been defined.
8 years ago
Jussi Pakkanen
8b05990c13
Disable gresource dependency generation as it breaks Ninja.
8 years ago
Jussi Pakkanen
382917ee8f
More robust link check.
8 years ago
Elliott Sales de Andrade
155f163341
Use portable path separator in wrappers.
...
The semicolon only separates paths on Windows, but the wrapper is
sometimes used on other platforms.
8 years ago
Jussi Pakkanen
08c82fd17c
Merge pull request #1042 from centricular/fix-qt4-testcase-qtwidgets
...
qt: Fix qmake detection on Linux and Windows
8 years ago
Jussi Pakkanen
dd8af1b56e
Added new files to manifest.
8 years ago
Jussi Pakkanen
918b8d098d
GTest and GMock changed their entire project layout on 1.8.0. Again. Fix it.
8 years ago
Nirbheek Chauhan
0f92b7d97c
tests/4 qt: Test that invalid modules are not found
8 years ago
Nirbheek Chauhan
954038b7c1
tests/4 qt: Don't search for QtWidgets with Qt4
...
Doesn't exist on qt4, and causes the test case to not run at all.
8 years ago
Nirbheek Chauhan
69aafd141e
qt: Fix qmake detection on Linux and Windows
...
qmake for both Qt4 and Qt5 detection was assuming that it was only used
on Windows, which is incorrect. It can also be used on Linux for
cross-compilation or in general when pkg-config is not available.
It was also not failing properly for both Qt5 and Qt4 when no libraries
were found, and was assuming that the .dll was always available.
Qt4 detection with qmake was also completely broken.
Also prevents unwanted injection of partially-found qt dependencies in
targets by unsetting self.cargs and self.largs
8 years ago
Guillaume Poirier-Morency
b2a39dd06e
vala: Generate GIR into the build directory ( fix #185 )
...
Add a Vala test generating GIR and typelib files.
8 years ago