diff options
author | 2020-01-02 21:59:10 +0100 | |
---|---|---|
committer | 2020-01-02 22:00:24 +0100 | |
commit | a6f188af2dd06082b26db38d9eeffa7cd6aba38b (patch) | |
tree | 0440e640aeb0c3517262482a2e5ede2a30a694d2 | |
parent | add a return code to the use test script (diff) | |
download | tatt-a6f188af2dd06082b26db38d9eeffa7cd6aba38b.tar.gz tatt-a6f188af2dd06082b26db38d9eeffa7cd6aba38b.tar.bz2 tatt-a6f188af2dd06082b26db38d9eeffa7cd6aba38b.zip |
collect more test logs
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
-rw-r--r-- | templates/tatt_functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index d2b5bc8..57d3d65 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -34,7 +34,7 @@ function tatt_pkg_error LOGNAME=$(mktemp -p "${TATT_BUILDLOGDIR}" "${CP/\//_}_${TATT_TEST_TYPE}_XXXXX") mv "${BUILDLOG}" "${LOGNAME}" echo " log has been saved as ${LOGNAME}" >> "${TATT_REPORTFILE}" - TESTLOGS=($(find ${BUILDDIR}/work -name test-suite.log -o -name testsuite.log -o -name LastTest.log)) + TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*')) if [ ${#TESTLOGS[@]} -gt 0 ]; then tar cf ${LOGNAME}.tar ${TESTLOGS[@]} echo " testsuite logs have been saved as ${LOGNAME}.tar" >> "${TATT_REPORTFILE}" |