From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 23 Oct 2019 10:55:57 -0600 Subject: [U-Boot] [PATCHv2 10/13] test/py: Rework test.py to be a different kind of wrapper In-Reply-To: <20191023032010.27725-11-trini@konsulko.com> References: <20191018205338.14879-1-trini@konsulko.com> <20191023032010.27725-1-trini@konsulko.com> <20191023032010.27725-11-trini@konsulko.com> Message-ID: <012faa24-8b28-f45a-33f3-f6a746524c41@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/22/19 9:20 PM, Tom Rini wrote: > Now that we have moved to being based on pytest for python3 we need to > make our test.py wrapper more robust in terms of only calling python3 > rather than possibly finding and using python2. To do this, change from > execvp()'ing pytest to invoking the package itself via python. In the > event that pytest is unavailable we still get a user-friendly error: I guess if this works, it's fine. But I think it'd work just as well to simply s/py.test/py.test-3/ in the existing code?