Re: [PATCH] test/py: Improve check for mksquashfs version

2021-07-29 Thread Tom Rini
On Thu, Jul 22, 2021 at 10:52:05PM +0200, Marek Behún wrote: > Some builds of squashfs-tools append version string with "-git" or > similar. The float() conversion will fail in this case. > > Improve the code to only convert to float() the string before the '-' > character. > > Signed-off-by:

Re: [PATCH] test/py: Improve check for mksquashfs version

2021-07-23 Thread João Marcos Costa
Em qui., 22 de jul. de 2021 às 17:52, Marek Behún escreveu: > > Some builds of squashfs-tools append version string with "-git" or > similar. The float() conversion will fail in this case. > > Improve the code to only convert to float() the string before the '-' > character. > > Signed-off-by:

Re: [PATCH] test/py: Improve check for mksquashfs version

2021-07-22 Thread Simon Glass
On Thu, 22 Jul 2021 at 14:52, Marek Behún wrote: > > Some builds of squashfs-tools append version string with "-git" or > similar. The float() conversion will fail in this case. > > Improve the code to only convert to float() the string before the '-' > character. > > Signed-off-by: Marek Behún

[PATCH] test/py: Improve check for mksquashfs version

2021-07-22 Thread Marek Behún
Some builds of squashfs-tools append version string with "-git" or similar. The float() conversion will fail in this case. Improve the code to only convert to float() the string before the '-' character. Signed-off-by: Marek Behún --- test/py/tests/test_fs/test_squashfs/sqfs_common.py | 2 +-