> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Zhao Zhili
> Sent: Montag, 12. Mai 2025 19:24
> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when
> running in MSYS2 shell
> 
> 
> 
> > On May 13, 2025, at 01:04, softworkz . <softworkz-at-hotmail....@ffmpeg.org>
> wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: Zhao Zhili <quinkbl...@foxmail.com>
> >> Sent: Montag, 12. Mai 2025 18:53
> >> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> >> Cc: softworkz <softwo...@hotmail.com>
> >> Subject: Re: [FFmpeg-devel] [PATCH 3/3] tests/hevc: Fix concat input when
> >> running in MSYS2 shell
> >>
> >>
> >>
> >>> On May 12, 2025, at 17:59, softworkz <ffmpegag...@gmail.com> wrote:
> >>>
> >>> From: softworkz <softwo...@hotmail.com>
> >>>
> >>> MSYS2 considers the colon (:) as path separator (=separating multiple
> >>> paths) and thinks it needs to convert it to a Windows
> >>> path separator (;).
> >>>
> >>> Setting the MSYS2_ARG_CONV_EXCL environment variable
> >>> keeps MSYS2 from doing this replacement.
> >>
> >> Doesn’t work for me.
> >>
> >> The test failed if when set
> >>
> >> —samples=/home/quink/ffmpeg-fate-sample
> >>
> >> but success when set
> >>
> >> —samples=D:/bin/msys/home/quink/ffmpeg-fate-sample
> 
> >
> > Another case that this patch fixes is
> >
> > —samples=../fate-suite
> >
> >> Other test case don’t have this issue.
> >
> > Because no other test uses the concat: protocol.
> >
> >> With a single input,
> >> msys can convert the unix path to Windows path before pass
> >> to ffmpeg, but failed for concat.
> >
> > The problem is the colon behind concat, which it considers to
> > be a separator and hence changes it to a semicolon.
> > When the samples-path starts with a slash, it might behave
> > differently again, no sure.
> >
> > I'll add a note to the commit message, explaining which cases
> > it fixes.
> 
> OK. Some other test cases don't work with D:/bin/msys/home/quink/ffmpeg-fate-
> sample.
> Only relative path with the patch can make fate success.
> 
> It’s a tough work experience on Windows.

Yea, unfortunately.

I'm trying to make it a little bit better at least with the new 
Patchwork checks - like here: 
https://patchwork.ffmpeg.org/project/ffmpeg/patch/520f9af365f550aefc3e9abfacab83cfc8817b8e.1747043988.git.ffmpegag...@gmail.com/

For Windows there's one with MSVC and one with GCC (both on MSYS2), 
hopefully it (FATE on Win) won't get broken so often anymore, going forward.

What's interesting is that this MSYS2 issue with concat: doesn't
happen on those DevOps builds, where I'm invoking it from Windows
CMD like this:

"C:\msys64\usr\bin\bash.exe" -lc "set -e -o pipefail; cd $(cygpath -u 
'%FFSRC%') && make fate -k -j16 2> >(tee build.log >&2)" || 
(C:\msys64\usr\bin\bash.exe -lc "cd $(cygpath -u '%FFSRC%'); ./report_status.sh 
error make_fate 'Make fate failed' build.log" & exit 1)


I didn't bother trying to analyze any further, though.

Best regards
sw
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to