diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2015-02-22 02:11:31 +0000 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2015-02-22 02:11:31 +0000 |
commit | 147ba439e6cd6f8a28b72f43655d4c6f068a89c9 (patch) | |
tree | b998d7d2fb585cb30e268fa2020266661d4ed7de /scripts | |
parent | 76346a4e4ae3adb73884783ec64269d0c4d3f563 (diff) |
only enable schroot for testing
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/MakeRelease.job | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job index fad1d204..a771141b 100755 --- a/scripts/MakeRelease.job +++ b/scripts/MakeRelease.job @@ -51,18 +51,23 @@ else rm -fr ${user_workspace}/_build/* ${user_workspace}/_build/sysroots/* fi +if test x"${runtests}" = xtrue; then + chroot="--enable-schroot-test" +fi + # Use the newly created build directory cd ${user_workspace}/_build if ! test -e host.conf; then - $CONFIG_SHELL ${abe_dir}/configure --enable-schroot-test --with-local-snapshots=${user_snapshots} \ + $CONFIG_SHELL ${abe_dir}/configure ${chroot} --with-local-snapshots=${user_snapshots} \ --with-git-reference-dir=${shared}/snapshots --with-fileserver=${fileserver} fi gcc_source="gcc-linaro-${version}-${release}.tar.xz" if test x"${runtests}" = xtrue; then - check=--check + chroot="--enable-schroot-test" + check="--check" else check="" fi |