aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2020-01-02 21:59:10 +0100
committerRolf Eike Beer <eike@sf-mail.de>2020-01-02 22:00:24 +0100
commita6f188af2dd06082b26db38d9eeffa7cd6aba38b (patch)
tree0440e640aeb0c3517262482a2e5ede2a30a694d2
parentadd a return code to the use test script (diff)
downloadtatt-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.sh2
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}"