Josh Soref
cf9fd56bc9
fix various spelling issues
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
Jussi Pakkanen
e75e3976fa
Condense test directory names.
4 years ago
Jussi Pakkanen
9d1e747d17
Condense test directory names again.
4 years ago
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
James Hilliard
d7c24ccddd
Allow get_variable to still function when the fallback is a disabler.
5 years ago
James Hilliard
2b6c997e33
Return a disabler when an unknown method is called on a disabler object
5 years ago
Xavier Claessens
9855b2d3c5
Test disabler in foreach loops
...
The is_disabler() check in evaluate_foreach() was useless because we
already checked that items is a list.
5 years ago
Xavier Claessens
1930fc82e2
Fix `if not disabler()` case
...
Closes : #6010
5 years ago
James Hilliard
b21fd95f73
Add is_disabler function
...
This is useful if one needs to check if a variable is a disabler.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
5 years ago
Jussi Pakkanen
f39600647d
Condense test directory names.
5 years ago
Marc-André Lureau
3811101434
meson: handle nested disabler
...
Fixes #5659
5 years ago
Xavier Claessens
61348da069
Add 'disabler' argument to functions returning not-found objects
...
When dependency(), find_library(), find_program(), or
python.find_installation() return a not-found object and disabler is
true, they return a Disabler object instead.
6 years ago
Jussi Pakkanen
972535a6ac
Condense test dirs.
6 years ago
Jussi Pakkanen
17bfbb99e5
Condense test dirs.
6 years ago
Xavier Claessens
b216f03a01
Fix unit test for Disabler()
7 years ago
Jussi Pakkanen
678daad6cc
Created a new disabler type.
7 years ago