From: Paul Brossier Date: Thu, 29 Nov 2018 14:21:03 +0000 (+0100) Subject: [tests] [win] workaround to escape backslashes X-Git-Tag: 0.4.9~139^2~17 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=60384e9334401a70cbd694721bd77c32f71fa91f [tests] [win] workaround to escape backslashes --- diff --git a/tests/wscript_build b/tests/wscript_build index 68611785..7ae6449d 100644 --- a/tests/wscript_build +++ b/tests/wscript_build @@ -9,6 +9,8 @@ programs_sources = ctx.path.ant_glob('src/**/*.c') test_sound_target = '44100Hz_44100f_sine441_stereo.wav' test_sound_abspath = bld.path.get_bld().make_node(test_sound_target) +# workaround to double escape backslash characters on windows +test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\') bld(name='create_tests_source', rule='python ${SRC} ${TGT}',