mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00

The python unittest module writes all its output to stderr, even when the run is clean. Redirect its output logs to stdout. Cc: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
11 lines
253 B
Bash
Executable File
11 lines
253 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
|
|
|
|
# Kselftest framework requirement - SKIP code is 4.
|
|
ksft_skip=4
|
|
|
|
[ -e /dev/tpm0 ] || exit $ksft_skip
|
|
[ -e /dev/tpmrm0 ] || exit $ksft_skip
|
|
|
|
python3 -m unittest -v tpm2_tests.AsyncTest 2>&1
|