test: Add a 'make qcheck' target for quicker testing

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 <sjg@chromium.org>
This commit is contained in:
Simon Glass
2018-11-18 08:14:29 -07:00
parent c83c436de0
commit 499fde5c23
7 changed files with 22 additions and 4 deletions

View File

@@ -10,11 +10,15 @@ Running tests
To run most tests on sandbox, type this:
test/run
make check
in the U-Boot directory. Note that only the pytest suite is run using this
command.
Some tests take ages to run. To run just the quick ones, type this:
make qcheck
Sandbox
-------