diff options
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-x | MakeRelease.job | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MakeRelease.job b/MakeRelease.job index a60f8a0b..9432c3bd 100755 --- a/MakeRelease.job +++ b/MakeRelease.job @@ -22,6 +22,7 @@ usage() { echo " --logsdir XXX - Specify where to upload the logs" echo " --canadian - Perform a Canadian-cross build too" echo " --buildnumber XXX - Specify build number" + echo " --check XXX - Specify package to test" echo " --help" exit $ret } @@ -63,8 +64,9 @@ manifest_src= toolchain_config= artifacts_top="releases" manifest_validation=true +check=() -getopt -o h -l target:,release_name:,fileserver:,workspace:,toolchainconfig:,manifest:,glibc:,gcc:,binutils:,help,abedir:,binariesdir:,logsdir:,canadian,buildnumber:,artifacts_top:,manifest_validation: -Q +getopt -o h -l target:,release_name:,fileserver:,workspace:,toolchainconfig:,manifest:,glibc:,gcc:,binutils:,help,abedir:,binariesdir:,logsdir:,canadian,buildnumber:,artifacts_top:,manifest_validation:,check: -Q while test $# -gt 0; do case $1 in --abedir) abe_dir=$2 ; shift ;; @@ -83,6 +85,7 @@ while test $# -gt 0; do --buildnumber) buildnumber=$2 ; shift ;; --artifacts_top) artifacts_top=$2; shift ;; --manifest_validation) manifest_validation=$2; shift ;; + --check) check=("--check" "$2"); shift ;; -h|--help) usage 0 ;; --) break ;; *) usage ;; @@ -188,7 +191,7 @@ fi # build the mingw32 compiler only if the previous cross-compiler build was # successful. if test ${abe_ret} -eq 0; then - $CONFIG_SHELL ${abe_dir}/abe.sh --list-artifacts ${user_workspace}/artifacts2.txt ${update} --release ${release} --tarbin ${srcs} $target_opt ${host} --build all ${extra} >> ${logfile} + $CONFIG_SHELL ${abe_dir}/abe.sh --list-artifacts ${user_workspace}/artifacts2.txt ${update} --release ${release} --tarbin ${srcs} $target_opt ${host} --build all ${extra} "${check[@]}" >> ${logfile} abe_ret=$? manifests+=( "$(read_var ${user_workspace}/artifacts2.txt manifest)" ) fi |