]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/runtime/parselogs: improve find call
authorRoss Burton <ross.burton@arm.com>
Sat, 23 Sep 2023 13:04:07 +0000 (14:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Sep 2023 09:23:32 +0000 (10:23 +0100)
commit03bb14cebf5879472a8da78d892ecd5c5df5c3cf
tree5083c194f292ca1fb8806f77fd051b7121fd919b
parentf8f8f2f697c53b1cc19326249e15bf0d864f0a05
oeqa/runtime/parselogs: improve find call

getLogList() uses remote find invocations to find the logs. Instead of
relying on shell expansion of wildcards and redundant use of -maxdepth
(pointless as the shell expansion means the find is passed the files to
return), invoke find idiomatically by telling it what directory to
search for and escape the glob so find processes it.

Also remove many pointless str() calls.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/parselogs.py