Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
nicole mazzuca
24d5c73b0a
add -fno-exceptions if cpp_eh=none is specified
6 years ago
Jon Turney
198e869162
Make use of get_argument_syntax() in test cases
6 years ago
Jussi Pakkanen
972535a6ac
Condense test dirs.
6 years ago
Nirbheek Chauhan
82057ccd55
Add unit tests related to absolute prefixes
...
Also split the unit tests into those that are actually Linux-specific
and those that are not and can (and should) run on all platforms. This
will give us much better coverage since a lot of these test
platform-specific code in Meson that wraps features that we expose in
a platform-agnostic way.
Tests are for:
https://github.com/mesonbuild/meson/issues/1341
https://github.com/mesonbuild/meson/issues/1345
https://github.com/mesonbuild/meson/issues/1349
8 years ago
Nirbheek Chauhan
6b774982fe
tests/common/94: Set the default C++ std to C++11
...
The Intel compiler does not support C++03, but does support C++11, so
use that as the lowest-common-denominator for our tests.
8 years ago
Nirbheek Chauhan
4eb13f6afd
tests/94 default options: Also test warning_level
...
Can't really test that it's actually getting applied, but we can test
that it's being set
8 years ago
Jussi Pakkanen
7cad8a1bfb
Fixed some tests for new stricter options and OSX.
9 years ago
Jussi Pakkanen
062512a0f1
Use project default settings in compile tests unless told not to. Closes #296 .
9 years ago
Jussi Pakkanen
910dcbf290
Projects can specify default values for options.
9 years ago