20bb6a0255
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> |
||
---|---|---|
.. | ||
elements/fake-os | ||
install_test_deps.sh | ||
README.rst | ||
run_dib_library_tests.sh | ||
run_functests.sh | ||
run_output_format_test.sh |
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)