diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-17 11:38:40 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:25:19 -1000 |
| commit | 048bf00ec2f4946c514f2f0cafb108251933ef13 (patch) | |
| tree | 6754d7fce5857a8cd5513e310b3608f2c84ead35 | |
| parent | 0d47374974177307f2bc35a3cf57e7ca26b434a4 (diff) | |
| download | poky-048bf00ec2f4946c514f2f0cafb108251933ef13.tar.gz | |
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>
| -rwxr-xr-x | meta/recipes-devtools/strace/strace/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest index 86daed9220..1224229e8f 100755 --- a/meta/recipes-devtools/strace/strace/run-ptest +++ b/meta/recipes-devtools/strace/strace/run-ptest | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | set -u | 3 | set -u |
| 4 | 4 | ||
| 5 | export TIMEOUT_DURATION=240 | 5 | export TIMEOUT_DURATION=240 |
| 6 | make -B -C tests -k test-suite.log | 6 | make -j4 -B -C tests -k test-suite.log |
| 7 | res=$? | 7 | res=$? |
| 8 | if [ $res -ne 0 ]; then | 8 | if [ $res -ne 0 ]; then |
| 9 | cat tests/test-suite.log | 9 | cat tests/test-suite.log |
