Ensure debugging mode is enabled when building tests.
This commit is contained in:
parent
4ae97ddb09
commit
bd384e05d1
@ -781,6 +781,7 @@ Default(libVmime)
|
|||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
if env['build_tests'] == 'yes':
|
if env['build_tests'] == 'yes':
|
||||||
|
if env['debug'] == 'yes':
|
||||||
libUnitpp = env.StaticLibrary(
|
libUnitpp = env.StaticLibrary(
|
||||||
target = 'tests/unit++',
|
target = 'tests/unit++',
|
||||||
source = libunitpp_sources
|
source = libunitpp_sources
|
||||||
@ -797,6 +798,9 @@ if env['build_tests'] == 'yes':
|
|||||||
LIBPATH=['.', './tests/']
|
LIBPATH=['.', './tests/']
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
print 'Debug mode must be enabled to build tests!'
|
||||||
|
Exit(1)
|
||||||
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
Loading…
Reference in New Issue
Block a user