Daniel Mensinger
a6281939df
ast: Improved test case
6 years ago
Daniel Mensinger
38f2eae681
ast: Make sure to avoid infinite recursions
6 years ago
Daniel Mensinger
75b7a856cd
ast: support elementary object methods
6 years ago
Daniel Mensinger
feff2630ae
ast: resolve simple arithmetic nodes
6 years ago
Daniel Mensinger
2bb4ec19f2
ast: resolve ID nodes in flatten_args
6 years ago
Jon Turney
b8d2989ef2
Remove extra directory in failing test
...
So it failing tests what it claims, rather than that an directory
without a meson.build fails...
6 years ago
Konstantin
841995cddf
i18n: add args keyword to merge_file
...
* i18n: add args keyword to merge_file
* i18n: add testcase to msgfmt args
6 years ago
Jussi Pakkanen
e43c9d96d1
Make it work on Cygwin.
6 years ago
Jussi Pakkanen
dc2044c56d
Report xpass results as failures.
6 years ago
Jon Turney
3c86520b6f
Add a test case for dependency(method:'config-tool') with an unknown name
...
This failed with an exception with 0.49. Fixed by c0166355
, but add a
test case to ensure it doesn't regress.
6 years ago
Eli Schwartz
3814d698b1
gpgme dependency: verify that pkg-config works on newer gpgme
...
If the detected gpgme version is recent enough to match the version in
which upstream pkg-config files were added, assert that the default
found dependency is of the pkgconfig type.
6 years ago
Nirbheek Chauhan
10468b3a28
interpreter: Warn when environment() ops are overriden
...
Warn when someone tries to use append() or prepend() on an env var
which already has an operation set on it. People seem to think that
multiple append/prepend operations stack, but they don't.
Closes https://github.com/mesonbuild/meson/issues/5087
6 years ago
Daniel Mensinger
c04651fe24
mintro: Fix set_variable plus assign bug ( closes #5256 )
6 years ago
Elliott Sales de Andrade
e9b4344aee
TST: Actually check that postconf introspection works.
6 years ago
Jan Tojnar
e8a688428d
Add gpgme-config support
...
GPGME does not support pkg-config so we need config-tool support if
we do not want projects like Almanah and Seahorse to parse the values
manually.
6 years ago
Dylan Baker
569e646e1e
dependencies: Add command line option for pkg_config_path
...
This creates a new command line option to store pkg_config_path into,
and store the environment variable into that option. Currently this
works like the environment variable, for both cross and native targets.
6 years ago
Michael Hirsch, Ph.D
42a04f7e23
BUGFIX: Microsoft MPI is only compatible with Intel Fortran
6 years ago
Dylan Baker
82346a2bd2
modules/python: Report program found in find_installation()
...
Currently find_installation is silent, which is pretty annoying. Let's
log it.
6 years ago
Jon Turney
ff477d2b3f
Fix 'failing/85 gtest dependency with version' test to fail on Arch
...
If gtest is patched to have a pkg-config file, that will report the
version, so force the 'system' method to be used when we are exercising
that an unknown version doesn't satisfy any version constraint.
6 years ago
Daniel Mensinger
6da0df95c1
mintro: fix some interpreter crashes
6 years ago
Daniel Mensinger
1937bbafac
mintro: Fix crash when required is a function ( closes #5177 )
6 years ago
John Ericson
a4b2fbc807
Use a real linker arg in 'test cases/common/177 initial c_args'
...
`-Dtest_harmless_but_useless_link_arg` won't actually do anything
without anything to preprocess, but least it is valid for GCC and MSVC,
and won't be caused by anything else.
6 years ago
Jussi Pakkanen
e3e83e2acd
Also format headers with Clang-Format. Closes #5184 .
6 years ago
Dylan Baker
b791ede1b1
tests: modify partial_dependency test to cover a bug
...
Currently if a dependency is added to declare_dependency, and the top
dependency doesn't have an attribute that the subdependency does, it
wont be propagated by subdependency.
6 years ago
Jussi Pakkanen
3196e4e141
Support link_whole with custom targets.
6 years ago
Michael Hirsch, Ph.D
6e06ad1c1f
add test case for same-name module+submodule
6 years ago
Jussi Pakkanen
8361da5c52
Fix setup so test suite runs with rustc + MSVC. Closes: 5099
6 years ago
Jon Turney
8a9e1b1166
Disallow add_languages('vala') without 'c'
...
v2:
Exercise add_lanagues('vala') after 'c' in a test case
6 years ago
Ross Burton
a87b51f75c
Add test case for multiple cross files
6 years ago
Jussi Pakkanen
fd624a848e
Fix codegen with clang-cl.
6 years ago
Jussi Pakkanen
6ee2796879
THANK YOU STEVE JOBS FOR YOUR GREAT MODERN TOOLCHAIN!
6 years ago
Jussi Pakkanen
19eb0e762a
Win fixes.
6 years ago
Jussi Pakkanen
95f5a72f62
Delete failing test that checks for custom target linking.
6 years ago
Jussi Pakkanen
e81f48db16
Can link against custom targets. Closes #4908 .
6 years ago
Jussi Pakkanen
93df9530c8
Make custom lib script work with MSVC.
6 years ago
Jussi Pakkanen
4b95dd3a6d
Add test script to generate a static library with a custom target.
6 years ago
Paolo Bonzini
7a02b76e70
interpreterbase: protect string division with FeatureNew
...
Meson is not warning if you join paths with / but you are requesting a
version older than 0.49.0; fix this before adding more features to the
division operator.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6 years ago
Paolo Bonzini
49076d719c
kconfig: improvements for builddir config file
...
Document best practices for per-builddir config file, and add a test covering
loading a config file from the build directory.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
6 years ago
Mark Schulte
647bd2839e
[modules] Add kconfig module
...
Add a kconfig module to allow meson to integrate with existing projects
that use kconfig.
6 years ago
Nirbheek Chauhan
07818dac6a
compilers: Try harder to dedup builtin libs
...
Compiler internal libs should always be de-duplicated, no matter what.
Closes https://github.com/mesonbuild/meson/issues/2150
Test case is by Bruce Richardson in the issue.
6 years ago
Michael Hirsch, Ph.D
972857fc1d
add fortran include test case
6 years ago
Niklas Claesson
dd2c44cdf6
Add static as keyword to find_library
6 years ago
Ignacio Casal Quinteiro
c6f84a223c
Add unit test for pkgconfig relative paths
6 years ago
Antoine Jacoutot
85ca6adfb4
test: fix "get define" on OpenBSD
...
Same as with NetBSD, OpenBSD doesn't provide a ZLIB_VER_MAJOR but has
ZLIB_VERSION instead.
6 years ago
Jussi Pakkanen
7589471978
Condense directory numbering for release.
6 years ago
Jussi Pakkanen
c34f044814
Fix appleframeworks with multiple modules.
6 years ago
Daniel Mensinger
0a84bbcf4c
rewriter: Fixed test case
6 years ago
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago