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'), |
| 8 | use='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', |
| 11 | target='../unit-tests', |
| 12 | source=bld.path.ant_glob('unit/**/*.cpp'), |
| 13 | use='tests-base', |
| 14 | install_path=None) |
| 15 | |
| 16 | bld.program(name='integrated-tests', |
| 17 | target='../integrated-tests', |
| 18 | source=bld.path.ant_glob('integrated/**/*.cpp'), |
| 19 | use='tests-base', |
| 20 | install_path=None) |