Jon Turney
b78a01bced
Add a test case for python exception exit status
7 years ago
Dylan Baker
d3d0d4affb
tests/15 mixed pch: Add a test using only the headers
...
Which is supposed to work for GCC and Clang.
7 years ago
Dylan Baker
1270af4b9a
tests/15 mixed pch: Use current style
7 years ago
Matthias Klumpp
b57b82eaf9
Add test for subprojects in subdirectories
7 years ago
Tim-Philipp Müller
47508e217f
tests: add test to make sure include_directories() order is maintained
7 years ago
Jon Turney
7bfcf68777
Add get_pkgconfig_variable(default:)
...
Also use that to squelch the warning for internal uses which handle the
variable missing case (just gnome at the moment)
A follow up to PR #2914
7 years ago
Jussi Pakkanen
54d7817087
User options can "yield to" a user option of the same name in superproject. Closes ##2853.
7 years ago
Jussi Pakkanen
0204895143
Expose integer options to build option files.
7 years ago
Jussi Pakkanen
a288b524bc
Add support for hex int literals.
7 years ago
Aleksey Filippov
549f9a41e5
Rename install_subdir() option elide_directory to strip_directory
7 years ago
Aleksey Filippov
8ca3cc0c3d
Add elide_directory keyword for install_subdir() function
...
If elide_directory=true install_subdir() installs directory contents
instead of directory itself, eliding name of the source directory.
Closes #2869 .
7 years ago
Jon Turney
86ee89b400
Fix boost test on cygwin
...
With the headers from cygwin-devel-2.10.0-1, getpagesize() is not prototyped
unless an appropriate feature test macro is defined.
Future work: investigate if this needs to be defined by
BoostDependency.get_compile_args() or in Boost.
7 years ago
Adam C. Foltzer
281294286e
Fix Rust shared polyglot test case for cross-compilation
...
The crate-type in this case should have been `cdylib` since it's
linking via C, rather than the default `dylib` that is meant for
linking via `rustc`.
7 years ago
Jussi Pakkanen
2601cbe8a8
Created an unstable module for IceStorm projects.
7 years ago
Jussi Pakkanen
2dfd790f4f
Created sample project for IceStorm FPGA development.
7 years ago
Jussi Pakkanen
6cd7372e26
Comparing objects of different type prints a warning. Closes #2870 .
7 years ago
Jon Turney
227ad7605b
Same for libwmf
7 years ago
Martin Kelly
36aca4cd3c
add meson.project_license() builtin
...
This Fixes #2941 .
7 years ago
Alexis Jeandet
4e6630690a
Added failing test case
...
When having Qt resources in a meson subdir, meson prepends twice
the subdir name in resource file dependencies.
Here it will set 'subfolder/subfolder/resources/thing.png' as dependencie
for stuff3.qrc.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Xavier Claessens
6e2e94c645
pkgconfig: Also ignore not found deps passed directly to pc generator
...
Currently only not found deps implicitly pulled from a Library object
are ignored. We should also ignore not found deps passed directly to
generate() method.
This makes the unit testing more complicated because libfoo pkgconfig
dependency cannot be found when generated from the within the same
meson.build.
7 years ago
Edward Betts
bdfcecd2c6
Correct spelling mistakes.
7 years ago
Jussi Pakkanen
5e4538fe63
Add external dependencies to pc files only if found. Closes #2911 .
7 years ago
Jussi Pakkanen
714ac85d22
Renamed test dir to avoid duplicated numbers.
7 years ago
Jussi Pakkanen
59d0434039
Removed two deprecations from 2016.
7 years ago
Hemmo Nieminen
fc8912384c
Fix a SideCI issue about an unused import in a unit test.
7 years ago
Hemmo Nieminen
7cf9c0a644
Rename a test to avoid duplicate numbering.
7 years ago
Jon Turney
cdf241420c
Same for cups
7 years ago
Jon Turney
638095125d
Same for pcap
7 years ago
Jon Turney
57cb597871
Same for Vulkan
7 years ago
Jon Turney
3748f5465a
Same for SDL2
7 years ago
Jon Turney
bd128bc301
Test case for GL pkgconfig dependency
...
Test that the GL pkgconfig dependency is actually a pkgconfig dependency
7 years ago
Andrei Alexeyev
46f5d7a31c
Fix test cases/windows/13 resources with custom targets
...
Analogous to #2851
7 years ago
Andrei Alexeyev
f8bd1c5ff2
windows.compile_resources: fix compiling multiple resources within one project
7 years ago
Andrei Alexeyev
ef7cb9f280
[windows] make compile_resources use custom targets instead of generators
7 years ago
Nikita Churaev
de8018a17d
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
Dylan Baker
62fc6e7412
tests: fix "140 get define" on NetBSD
...
NetBSD's zlib is older (1.2.3), and doesn't have ZLIB_VER_MAJOR.
7 years ago
Dylan Baker
997b66d3ed
tests: fix "135 generated assembly" test on NetBSD
...
Which has GCC and uses GAS.
7 years ago
Dylan Baker
4cea88c2bb
tests: use GAS style assembly for FreeBSD as well
7 years ago
Dylan Baker
19a274c051
tests: don't try to build llvm test if dep is unfound
...
dragonfly BSD doesn't ship dynamic modules for LLVM so static linking is
required.
7 years ago
Dylan Baker
ddb244f2ba
tests: skip mpi test if mpi not installed
7 years ago
Dylan Baker
c61da9f4a9
tests: skip vulkan test if vulkan not found
7 years ago
Dylan Baker
f5458edff6
tests: skip gmock test if gtest or gmock not installed
7 years ago
Dylan Baker
cece4472f6
tests: skip gtest test if gtest not installed
7 years ago
Dylan Baker
0ec7dd5ac5
tests: Split objc and objc++ tests
...
This allows platforms that can compile one or the other (but not both)
to run the tests that they can.
7 years ago
Dylan Baker
97d2a9d84c
tests: skip objc nsstring test if gnustep is not installed
7 years ago
Dylan Baker
ae4bd83493
tests: Fix 135 generated assembly on DragonFly BSD
...
Which uses a modern version of GCC and Clang, which supports gas.
Tested with x86_64, but I assume that x86 and arm have the same problem.
7 years ago
Dylan Baker
087421f922
tests: Add define tests for netbsd
7 years ago
Dylan Baker
b72be62929
tests: Add Dragonfly BSD
...
which uses __DragonFly__
7 years ago
Dylan Baker
a44221db06
tests: Add freebsd to get define test.
7 years ago
Jon Turney
fd66692f73
Fix a problem when anyone actually tries to use a non-found dependency
...
Fix BuildTarget.add_deps() to handle class Dependency
Extend test case to cover uses of the not-found dependency object
7 years ago