Re: [PATCH 2/4] meson: fixes relpath may fail on win32.

2020-08-25 Thread Paolo Bonzini
On Tue, Aug 25, 2020 at 11:31 PM Mark Cave-Ayland wrote: > On 25/08/2020 17:53, luoyongg...@gmail.com wrote: > > > From: Yonggang Luo > > > > On win32, os.path.relpath would raise exception when do the following > > relpath: > > C:/msys64/mingw64/x.exe relative to E:/path/qemu-build would fail.

Re: [PATCH 2/4] meson: fixes relpath may fail on win32.

2020-08-25 Thread Mark Cave-Ayland
On 25/08/2020 17:53, luoyongg...@gmail.com wrote: > From: Yonggang Luo > > On win32, os.path.relpath would raise exception when do the following relpath: > C:/msys64/mingw64/x.exe relative to E:/path/qemu-build would fail. > So we try catch it for stopping it from raise exception on msys2 > ---

[PATCH 2/4] meson: fixes relpath may fail on win32.

2020-08-25 Thread luoyonggang
From: Yonggang Luo On win32, os.path.relpath would raise exception when do the following relpath: C:/msys64/mingw64/x.exe relative to E:/path/qemu-build would fail. So we try catch it for stopping it from raise exception on msys2 --- scripts/mtest2make.py | 11 +-- 1 file changed, 9 inse

[PATCH 2/4] meson: fixes relpath may fail on win32.

2020-08-25 Thread luoyonggang
From: Yonggang Luo On win32, os.path.relpath would raise exception when do the following relpath: C:/msys64/mingw64/x.exe relative to E:/path/qemu-build would fail. So we try catch it for stopping it from raise exception on msys2 --- scripts/mtest2make.py | 11 +-- 1 file changed, 9 inse

[PATCH 2/4] meson: fixes relpath may fail on win32. On win32, os.path.relpath would raise exception when do the following relpath: C:/msys64/mingw64/x.exe relative to E:/path/qemu-build would fail. So

2020-08-25 Thread luoyonggang
From: Yonggang Luo --- scripts/mtest2make.py | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py index bdb257bbd9..d7a51bf97e 100644 --- a/scripts/mtest2make.py +++ b/scripts/mtest2make.py @@ -53,9 +53,16 @@ i = 0 for tes