1 # vim:set syntax=python:
7 includes = ['../src', '.']
8 programs_sources = ctx.path.ant_glob('src/**/*.c')
10 test_sound_target = '44100Hz_44100f_sine441_stereo.wav'
11 test_sound_abspath = bld.path.get_bld().make_node(test_sound_target)
13 bld(name='create_test_source',
14 rule='python ${SRC} ${TGT}',
15 source='create_test_source.py',
16 target=test_sound_target)
18 for source_file in programs_sources:
19 target = os.path.basename(os.path.splitext(str(source_file))[0])
20 bld(features = 'c cprogram test',
26 defines = ['AUBIO_UNSTABLE_API=1',
27 'AUBIO_TESTS_SOURCE=\"{}\"'.format(test_sound_abspath)]