mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 19:32:44 +03:00
make: run tests in parallel
Speed up the test run by running them in parallel
This commit is contained in:
parent
badf0f65d1
commit
7745fb6fcc
2
Makefile
2
Makefile
@ -68,7 +68,7 @@ alpine:
|
|||||||
lib/tiny-cloud/user-data/alpine-config
|
lib/tiny-cloud/user-data/alpine-config
|
||||||
|
|
||||||
check: tests/Kyuafile Kyuafile
|
check: tests/Kyuafile Kyuafile
|
||||||
kyua test || (kyua report --verbose && exit 1)
|
kyua --variable parallelism=$(shell nproc) test || (kyua report --verbose && exit 1)
|
||||||
|
|
||||||
tests/Kyuafile: $(wildcard tests/*.test)
|
tests/Kyuafile: $(wildcard tests/*.test)
|
||||||
echo "syntax(2)" > $@.tmp
|
echo "syntax(2)" > $@.tmp
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user