From 60384e9334401a70cbd694721bd77c32f71fa91f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 29 Nov 2018 15:21:03 +0100 Subject: [PATCH] [tests] [win] workaround to escape backslashes --- tests/wscript_build | 2 ++ 1 file changed, 2 insertions(+) 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}', -- 2.11.0