blob: 1ca51c0fbe1ba67951463ddd21985e035961a1ae [file] [log] [blame]
Alexander Afanasyev3fd14f02014-03-26 14:34:39 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
Alexander Afanasyev3fd14f02014-03-26 14:34:39 -07003top = '..'
4
5def build(bld):
Davide Pesaventoed2f4762019-01-25 00:40:46 -05006 bld.objects(target='tests-base',
7 source=bld.path.ant_glob('*.cpp'),
Davide Pesavento399f4d92023-09-17 14:03:51 -04008 use='BOOST_TESTS repo-objects')
Shuo Chenca329182014-03-19 18:05:18 -07009
Davide Pesaventoed2f4762019-01-25 00:40:46 -050010 bld.program(name='unit-tests',
Davide Pesavento399f4d92023-09-17 14:03:51 -040011 target=f'{top}/unit-tests',
Davide Pesaventoed2f4762019-01-25 00:40:46 -050012 source=bld.path.ant_glob('unit/**/*.cpp'),
13 use='tests-base',
14 install_path=None)
15
16 bld.program(name='integrated-tests',
Davide Pesavento399f4d92023-09-17 14:03:51 -040017 target=f'{top}/integrated-tests',
Davide Pesaventoed2f4762019-01-25 00:40:46 -050018 source=bld.path.ant_glob('integrated/**/*.cpp'),
19 use='tests-base',
20 install_path=None)