08784d4485
Change-Id: Iaf468a75466134d18ecbb1fef66e4cb401d781a4
34 lines
1004 B
Python
34 lines
1004 B
Python
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
from waflib import Utils
|
|
|
|
top = '..'
|
|
|
|
def build(bld):
|
|
test_main = bld(
|
|
target='tests-main',
|
|
name='tests-main',
|
|
features='cxx',
|
|
source='main.cpp',
|
|
use='ChronoSync',
|
|
defines=['BOOST_TEST_MODULE=ChronoSync']
|
|
)
|
|
|
|
unit_test = bld.program(
|
|
target="../unit-tests",
|
|
source=bld.path.ant_glob(['unit-tests/**/*.cpp', 'identity-management-fixture.cpp']),
|
|
features=['cxx', 'cxxprogram'],
|
|
use='ChronoSync tests-main',
|
|
includes=['.'],
|
|
install_path=None,
|
|
)
|
|
|
|
# TODO: Re-enable when there integration tests are implemented
|
|
# integrated_test = bld.program(
|
|
# target="../integrated-tests",
|
|
# source=bld.path.ant_glob(['integrated-tests/**/*.cpp']),
|
|
# features=['cxx', 'cxxprogram'],
|
|
# use='ChronoSync tests-main',
|
|
# includes=['.'],
|
|
# install_path=None,
|
|
# )
|