diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-15 07:32:10 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2017-05-22 11:18:46 +0000 |
commit | 236ee4d248a1de157c49eb7fcc59896548a9909e (patch) | |
tree | 7fe70808cad2e151e2fabb8d080047f7d4820d70 | |
parent | 6082437a54746abdbfb16e1bbbba44640bdd10f2 (diff) |
jenkins.sh: Collect .sum files only if --runtests was provided.
Otherwise check-artifacts.txt does not exist and grep fails,
making jenkins.sh fail too. If --runtests was not used, we
do not want to fail for lack of .sum files.
Change-Id: I6cb7736cf40ec4b036d5806b9ee89a6f3d8dbb53
-rwxr-xr-x | jenkins.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -440,7 +440,9 @@ if test x"${logserver}" != x""; then fi # Find all the test result files. -sums="$(read_var ${user_workspace}/check-artifacts.txt 'dj_sum_[^=]*')" +if test x"${runtests}" = x"true"; then + sums="$(read_var ${user_workspace}/check-artifacts.txt 'dj_sum_[^=]*')" +fi # Canadian Crosses are a win32 hosted cross toolchain built on a Linux # machine. |