1 |
commit: a6f188af2dd06082b26db38d9eeffa7cd6aba38b |
2 |
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de> |
3 |
AuthorDate: Thu Jan 2 20:59:10 2020 +0000 |
4 |
Commit: Rolf Eike Beer <eike <AT> sf-mail <DOT> de> |
5 |
CommitDate: Thu Jan 2 21:00:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tatt.git/commit/?id=a6f188af |
7 |
|
8 |
collect more test logs |
9 |
|
10 |
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de> |
11 |
|
12 |
templates/tatt_functions.sh | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh |
16 |
index d2b5bc8..57d3d65 100644 |
17 |
--- a/templates/tatt_functions.sh |
18 |
+++ b/templates/tatt_functions.sh |
19 |
@@ -34,7 +34,7 @@ function tatt_pkg_error |
20 |
LOGNAME=$(mktemp -p "${TATT_BUILDLOGDIR}" "${CP/\//_}_${TATT_TEST_TYPE}_XXXXX") |
21 |
mv "${BUILDLOG}" "${LOGNAME}" |
22 |
echo " log has been saved as ${LOGNAME}" >> "${TATT_REPORTFILE}" |
23 |
- TESTLOGS=($(find ${BUILDDIR}/work -name test-suite.log -o -name testsuite.log -o -name LastTest.log)) |
24 |
+ TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*')) |
25 |
if [ ${#TESTLOGS[@]} -gt 0 ]; then |
26 |
tar cf ${LOGNAME}.tar ${TESTLOGS[@]} |
27 |
echo " testsuite logs have been saved as ${LOGNAME}.tar" >> "${TATT_REPORTFILE}" |