Commit 93c6fcfc authored by Jakub Jirutka's avatar Jakub Jirutka

testing/libmpack: avoid flooding logs by tests

parent 6fa07041
......@@ -18,8 +18,15 @@ build() {
}
check() {
local out
cd "$builddir"
make test
# Tests prints thousands lines, so print only last few when fails.
out=$(make test) || {
echo "Tests failed, printing last 50 lines of the output..."
printf '%s\n' "$out" | tail -n 50
return 1
}
}
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment