Commit graph

16 commits

Author SHA1 Message Date
Andrey Vagin
5500145557 test: add ability to execute tests in parallel
All tests which executed in pid namespaces can be executed in parallel.

$ make zdtm_ns
real	0m54.806s
user	0m2.779s
sys	0m4.338s

$ make -j zdtm_ns
real	0m11.587s
user	0m3.361s
sys	0m5.134s

Another feature of this patch is that the subset of parallel tests is
executed before the subset of sequential tests.

If a first subset are not failed, the second one has a small chance to
fail, so a most part of bugs will be found in a few first seconds.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-01-22 22:48:00 +04:00
Cyrill Gorcunov
a88cd36e7b make: Move legacy tests to test/legacy and use "make test" to run zdtm tests
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
2012-01-24 19:59:53 +04:00
Cyrill Gorcunov
25d048c02a test: Add usnix-socket test
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-12-27 20:01:47 +04:00
Cyrill Gorcunov
8557e39bef test: Add sigaction test
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-12-03 01:48:57 +04:00
Cyrill Gorcunov
f6ae59cdde test: Add trivial vDSO test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-29 16:37:43 +04:00
Cyrill Gorcunov
ea423aa56f test: Update makefile clean target
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-22 13:29:27 +04:00
Cyrill Gorcunov
4368d57c48 test: Add test-pthreads test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-22 01:50:45 +04:00
Cyrill Gorcunov
5e5cb3b321 test: Add test-pipe-async test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 23:55:37 +04:00
Cyrill Gorcunov
22f8986902 teste: Add test-shmem-three-async test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 23:45:35 +04:00
Cyrill Gorcunov
8650847b83 test: Add test-shmem-async test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:53:18 +04:00
Cyrill Gorcunov
d2f382e729 test: Add test-rnd-from-file test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 22:42:59 +04:00
Cyrill Gorcunov
37e73d6a1d test: Add test-counter test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 21:25:43 +04:00
Cyrill Gorcunov
af4eb76bb0 test: Drop old tests
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-11-21 20:27:58 +04:00
Cyrill Gorcunov
48371f729a test: Add static sleep test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-10-31 20:37:50 +04:00
Cyrill Gorcunov
c704ab9064 test: Add anonymous shared memory test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-30 13:08:26 +04:00
Cyrill Gorcunov
98be6495c7 make: Move tests into test/ directory
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2011-09-29 16:03:36 +04:00