Re: [U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-18 Thread Stephen Warren
On 09/16/2017 08:47 PM, Alison Chaiken wrote: I suggest that while we're cleaning this test up, that we add something like this to each of the tests: diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py +if not os.path.exists('/sbin/sgdisk'): +pytest.skip('install g

Re: [U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-16 Thread Alison Chaiken
I suggest that while we're cleaning this test up, that we add something like this to each of the tests: diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py index e2bbd08e6d..485d092371 100644 --- a/test/py/tests/test_gpt.py +++ b/test/py/tests/test_gpt.py @@ -67,6 +67,8 @@ def state

Re: [U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-15 Thread Tom Rini
On Fri, Sep 15, 2017 at 11:25:51AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Make various changes to the GPT test: > > 1) Reference the disk image using an absolute path in all cases. This > allows test/py to operate correctly if it's run from a directory other > than the root of

[U-Boot] [PATCH] test/py: gpt: make use of infra-structure

2017-09-15 Thread Stephen Warren
From: Stephen Warren Make various changes to the GPT test: 1) Reference the disk image using an absolute path in all cases. This allows test/py to operate correctly if it's run from a directory other than the root of the U-Boot source tree. 2) Store the disk image in the teswt/py persistent dat