blob: 02ca4f07f312f2068055617ede0e67afdc9f855a [file] [log] [blame]
Alexander Afanasyev8b1674a2014-05-15 00:58:43 -07001# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
Alexander Afanasyev5560fd42018-03-07 17:03:03 -05003top = '../..'
Alexander Afanasyev8b1674a2014-05-15 00:58:43 -07004
5def build(bld):
Alexander Afanasyev5560fd42018-03-07 17:03:03 -05006 for test in bld.path.ant_glob('*.cpp'):
7 name = test.change_ext('').path_from(bld.path.get_bld())
Davide Pesaventoc9967422023-09-07 22:04:34 -04008 bld.program(name=f'test-{name}',
Davide Pesavento19442812018-11-23 14:00:04 -05009 target=name,
Alexander Afanasyev5560fd42018-03-07 17:03:03 -050010 source=[test],
Davide Pesavento7e780642018-11-24 15:51:34 -050011 use='tests-common',
Alexander Afanasyev5560fd42018-03-07 17:03:03 -050012 install_path=None)