diskimage-builder/tests
Andreas Florath 20bb6a0255 Add option to be able to run_functests.sh in parallel
Running the functional tests is time consuming.  This patch adds the
option `-j <job count>` to the tests/run_functests.sh: when given the
test run in parallel up the <job count> jobs.
When using this, be sure to have enough resources (CPUs, RAM and HD
space) on the host.

In addition there was the need to change two things:
o Global /tmp/dib-test-should-fail was move to temporary build
  directory of each execution.
o Because the logs might now interleave, each log line has now a
  prefix of the name of the testcase.

[In my environment running functests sequential takes 15+ minutes,
running them parallel takes less than 6 minutes.]

Change-Id: Id9ea5131f0026c292ca6453ba2c80fe12c47f808
Signed-off-by: Andreas Florath <andreas@florath.net>
2016-09-03 16:51:55 +02:00
..
elements/fake-os tests/elements/fake-os: add '/tmp' as top level dir 2016-05-13 11:17:42 +10:00
install_test_deps.sh Merge "Install docker for tests" 2016-06-29 21:23:41 +00:00
README.rst Rework functional test runner 2016-02-19 13:50:09 +11:00
run_dib_library_tests.sh Rework functional test runner 2016-02-19 13:50:09 +11:00
run_functests.sh Add option to be able to run_functests.sh in parallel 2016-09-03 16:51:55 +02:00
run_output_format_test.sh Fail functests if refusing to run tests 2016-05-13 17:07:32 +00:00

DIB Testing
===========

There are several interfaces for testing various parts of DIB

 * run_dib_library_tests.sh : run unit-tests for internal
     diskimage-builder library functions

 * run_functests.sh : run functional testing provided by elements

 * run_output_format_test.sh : run a test of image conversion
     (requires docker)