Alexander Afanasyev | e83c056 | 2016-12-24 10:20:41 -0800 | [diff] [blame^] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
| 3 | top = '..' |
| 4 | |
| 5 | from waflib import Logs |
| 6 | |
| 7 | def 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 | ) |