Changeset 242e923
- Timestamp:
- Nov 29, 2018, 6:38:41 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- f9204ac
- Parents:
- 0de816c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/wscript_build
r0de816c r242e923 13 13 test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\') 14 14 15 b ld(name='create_tests_source',15 b = bld(name='create_tests_source', 16 16 rule='python ${SRC} ${TGT}', 17 17 source='create_tests_source.py', 18 18 target=test_sound_target) 19 # use post() to create the task, keep a reference to it 20 b.post() 21 create_tests_source = b.tasks[0] 19 22 20 23 for source_file in programs_sources: 21 24 target = os.path.basename(os.path.splitext(str(source_file))[0]) 22 bld(features = 'c cprogram test',25 a = bld(features = 'c cprogram test', 23 26 source = source_file, 24 27 target = target, … … 29 32 'AUBIO_TESTS_SOURCE={}'.format(test_sound_abspath)] 30 33 ) 34 a.post() 35 # make sure the unit_test task runs *after* the source is created 36 a.tasks[-1].set_run_after(create_tests_source)
Note: See TracChangeset
for help on using the changeset viewer.