Alexander Afanasyev | 3fd14f0 | 2014-03-26 14:34:39 -0700 | [diff] [blame] | 1 | # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| 2 | |
Alexander Afanasyev | 3fd14f0 | 2014-03-26 14:34:39 -0700 | [diff] [blame] | 3 | top = '..' |
| 4 | |
| 5 | def build(bld): |
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 6 | bld.objects(target='tests-base', |
| 7 | source=bld.path.ant_glob('*.cpp'), |
Davide Pesavento | 399f4d9 | 2023-09-17 14:03:51 -0400 | [diff] [blame] | 8 | use='BOOST_TESTS repo-objects') |
Shuo Chen | ca32918 | 2014-03-19 18:05:18 -0700 | [diff] [blame] | 9 | |
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 10 | bld.program(name='unit-tests', |
Davide Pesavento | 399f4d9 | 2023-09-17 14:03:51 -0400 | [diff] [blame] | 11 | target=f'{top}/unit-tests', |
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 12 | source=bld.path.ant_glob('unit/**/*.cpp'), |
| 13 | use='tests-base', |
| 14 | install_path=None) |
| 15 | |
| 16 | bld.program(name='integrated-tests', |
Davide Pesavento | 399f4d9 | 2023-09-17 14:03:51 -0400 | [diff] [blame] | 17 | target=f'{top}/integrated-tests', |
Davide Pesavento | ed2f476 | 2019-01-25 00:40:46 -0500 | [diff] [blame] | 18 | source=bld.path.ant_glob('integrated/**/*.cpp'), |
| 19 | use='tests-base', |
| 20 | install_path=None) |