Alexander Kanavin 048bf00ec2 strace: parallelize ptest
strace is one of the slowest tests otherwise (can take 40 minutes or more),
and this brings it to under 10 minutes \0/

(From OE-Core rev: 30b6692ef4a12958419c94b96e3fc5a50e8a7ad6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c632b418a785494318d9f375a07d879772e8ced)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:25:19 -10:00

12 lines
159 B
Bash
Executable File

#!/bin/sh
set -u
export TIMEOUT_DURATION=240
make -j4 -B -C tests -k test-suite.log
res=$?
if [ $res -ne 0 ]; then
cat tests/test-suite.log
fi
exit $res