We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63bd3b6 commit 193584cCopy full SHA for 193584c
src/pkgdev/tatt/template.sh.jinja
@@ -74,13 +74,11 @@ tatt_pkg_error() {
74
cp "${BUILDLOG}" "${LOGNAME}"
75
echo " log has been saved as ${LOGNAME}" >> "{{ report_file }}"
76
TESTLOGS=($(find ${BUILDDIR}/work -iname '*test*log*'))
77
-{% raw %}
78
- if [[ ${#TESTLOGS[@]} -gt 0 ]]; then
+ if [[ {{ "${#TESTLOGS[@]}" }} -gt 0 ]]; then
79
tar cf ${LOGNAME}.tar ${TESTLOGS[@]}
80
echo " test-suite logs have been saved as ${LOGNAME}.tar" >> "{{ report_file }}"
81
fi
82
83
-{% endraw %}
84
}
85
86
tatt_test_pkg() {
0 commit comments