<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/py/tests/test_fs, branch v2019.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/py/tests/test_fs?h=v2019.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/py/tests/test_fs?h=v2019.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-11-29T16:30:05Z</updated>
<entry>
<title>test: Add a 'make qcheck' target for quicker testing</title>
<updated>2018-11-29T16:30:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-11-18T15:14:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=499fde5c23921add3cf95fecfe0b03d717d5a33b'/>
<id>urn:sha1:499fde5c23921add3cf95fecfe0b03d717d5a33b</id>
<content type='text'>
At present tests are quite slow to run, over a minute on my machine. This
presents a considerable barrier to bisecting for failures.

The slowest tests are the filesystem ones and the buildman --fetch-arch
test. Add a new 'qcheck' target that skips these tests. This reduces test
time down to about 40 second, still too long, but bearable.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test/py: test_fs: add docstring comments to helper functions</title>
<updated>2018-10-06T13:04:18Z</updated>
<author>
<name>Akashi Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-27T07:07:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c906f372b2ec55222b841b2affb50fd72d985086'/>
<id>urn:sha1:c906f372b2ec55222b841b2affb50fd72d985086</id>
<content type='text'>
After Siomon's comment, add a descriptive comment (docstring) to each of
helper functions in conftest.py. No functionality changed.

Signed-off-by: Akashi Takahiro &lt;takahiro.akashi@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test/py: test_fs: remove fs_type argument from umount_fs()</title>
<updated>2018-10-06T13:04:18Z</updated>
<author>
<name>Akashi Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-27T07:07:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e4040df555d92290262946100f963fa54caddcae'/>
<id>urn:sha1:e4040df555d92290262946100f963fa54caddcae</id>
<content type='text'>
Since there is no use of fs_type in umount_fs(), just remove it.

Signed-off-by: Akashi Takahiro &lt;takahiro.akashi@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test/py: fs: add fstest/unlink test</title>
<updated>2018-09-23T19:55:30Z</updated>
<author>
<name>Akashi, Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-11T07:06:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cce289a928583a64db6ec8f813cc7884ae62c213'/>
<id>urn:sha1:cce289a928583a64db6ec8f813cc7884ae62c213</id>
<content type='text'>
In this commit, test cases for unlink interfaces are added as part of
"test_fs" test suite.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>test/py: fs: add fstest/mkdir test</title>
<updated>2018-09-23T19:55:30Z</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-11T06:59:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50ca19cca9dff527eacdf487b8f172f279f22327'/>
<id>urn:sha1:50ca19cca9dff527eacdf487b8f172f279f22327</id>
<content type='text'>
In this commit, test cases for mkdir interfaces are added as part of
"test_fs" test suite.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>test/py: fs: add extended write operation test</title>
<updated>2018-09-23T19:55:30Z</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-11T06:59:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71f27af58ef90f65e1de3a86fda3915361b0d4a8'/>
<id>urn:sha1:71f27af58ef90f65e1de3a86fda3915361b0d4a8</id>
<content type='text'>
In this commit and the following, test scripts for new filesystem
functionalities introduced by my patch set, "fs: fat: extend FAT write
operations," are provided.

In particular, this patch adds test cases for sub-directory write
and write with non-zero offset.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>test/py: convert fs-test.sh to pytest</title>
<updated>2018-09-23T19:55:30Z</updated>
<author>
<name>AKASHI Takahiro</name>
<email>takahiro.akashi@linaro.org</email>
</author>
<published>2018-09-11T06:59:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de8106c198b442f8363557006c13a7807d972552'/>
<id>urn:sha1:de8106c198b442f8363557006c13a7807d972552</id>
<content type='text'>
In this commit, the same set of test cases as in test/fs/fs-test.sh
is provided using pytest framework.
Actually, fs-test.sh provides three variants:"sb" (sb command), "nonfs"
(fatxx and etc.) and "fs" (hostfs), and this patch currently supports
only "nonfs" variant; So it is not a replacement of fs-test.sh for now.

Simple usage:
  $ py.test test/py/tests/test_fs [&lt;other options&gt;]

You may also specify filesystem types to be tested:
  $ py.test test/py/tests/test_fs --fs-type fat32 [&lt;other options&gt;]

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
</feed>
