| # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| if not bld.env['WITH_TESTS']: |
| Logs.error("Many unit tests are temporary disabled") |
| target='unit-tests-main', |
| defines=['BOOST_TEST_MODULE=ChronoShare Unit Tests']) |
| unit_tests = bld.program( |
| features='cxx cxxprogram', |
| source=bld.path.ant_glob(['*.cpp', |
| 'unit-tests/dummy-forwarder.cpp', |
| 'unit-tests/sync-*.t.cpp', |
| 'unit-tests/action-log.t.cpp', |
| 'unit-tests/object-*.t.cpp', |
| use='chronoshare core-objects unit-tests-main', |
| defines='UNIT_TEST_CONFIG_PATH=\"%s/tmp-files/\"' % (bld.bldnode), |