blob: 4de283c6a293f96498ee8810f317e9b0f5a4a53b [file] [log] [blame]
Alexander Afanasyeve83c0562016-12-24 10:20:41 -08001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3top = '..'
4
5from waflib import Logs
6
7def build(bld):
8 Logs.error("Unit tests are temporary disabled")
9 return
10
11 bld(features='cxx',
12 target='unit-tests-main',
13 name='unit-tests-main',
14 source='main.cpp',
15 use='BOOST',
16 defines=['BOOST_TEST_MODULE=CHRONOSHARE Unit Test'])
17
18 unit_tests = bld.program(
19 target='../unit-tests',
20 features='cxx cxxprogram',
21 source=bld.path.ant_glob(['**/*.cpp'], excl=['main.cpp']),
22 use='unit-tests-main',
23 install_path=None,
24 defines='UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % (bld.bldnode)
25 )