1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00

make: run tests in parallel

Speed up the test run by running them in parallel
This commit is contained in:
Natanael Copa 2023-05-16 16:55:35 +02:00
parent badf0f65d1
commit 7745fb6fcc

View File

@ -68,7 +68,7 @@ alpine:
lib/tiny-cloud/user-data/alpine-config
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)
echo "syntax(2)" > $@.tmp