blob: 4de283c6a293f96498ee8810f317e9b0f5a4a53b [file] [log] [blame]
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
top = '..'
from waflib import Logs
def build(bld):
Logs.error("Unit tests are temporary disabled")
return
bld(features='cxx',
target='unit-tests-main',
name='unit-tests-main',
source='main.cpp',
use='BOOST',
defines=['BOOST_TEST_MODULE=CHRONOSHARE Unit Test'])
unit_tests = bld.program(
target='../unit-tests',
features='cxx cxxprogram',
source=bld.path.ant_glob(['**/*.cpp'], excl=['main.cpp']),
use='unit-tests-main',
install_path=None,
defines='UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % (bld.bldnode)
)