diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2018-03-22 09:39:38 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2018-03-22 09:39:38 +0000 |
commit | 0409c1fd37757671391a48e31b99182007b5fc79 (patch) | |
tree | 4c22fe4bcfef32d1e067fef2fa496318e55994c1 | |
parent | b3b1686d078032311a3813e8a6332eaf363a58cf (diff) |
Fix --send-results-to to work for native builds too.
Change-Id: I8e99bce0b9c2b95a9c94dfa32d0dd1a1cc963895
-rwxr-xr-x | lib/make.sh | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/make.sh b/lib/make.sh index 8a717d58..ada20f54 100755 --- a/lib/make.sh +++ b/lib/make.sh @@ -827,12 +827,15 @@ make_check() if test x"${component}" = x"gcc"; then rm -rf ${sysroots}/etc/ld.so.cache - # If the user provided send_results_to, send the results - # via email - if [ x"$send_results_to" != x ]; then - local srcdir="$(get_component_srcdir ${component})" - dryrun "(cd ${builddir} && ${srcdir}/contrib/test_summary -t -m ${send_results_to} | sh)" - fi + fi + fi + + if test x"${component}" = x"gcc"; then + # If the user provided send_results_to, send the results + # via email + if [ x"$send_results_to" != x ]; then + local srcdir="$(get_component_srcdir ${component})" + dryrun "(cd ${builddir} && ${srcdir}/contrib/test_summary -t -m ${send_results_to} | sh)" fi fi |