From f8bd6c543219df09b8ff64b2d3c79728df455c99 Mon Sep 17 00:00:00 2001 From: "Roscoe A. Bartlett" Date: Mon, 26 Jun 2017 08:36:10 -0600 Subject: [PATCH] Add optional enable_all_packages 'all' argument (#482) Now you can pass in 4th 'all' argument and it will enable all packages with the checkin-test-sems.sh script. That is useful when you want to force the testing of all packages or when there are no packages changed and the script aborts because there are no enables. --- cmake/std/sems/remote-pull-test-push.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/cmake/std/sems/remote-pull-test-push.sh b/cmake/std/sems/remote-pull-test-push.sh index e82f43709d26..25f7f6d3ce56 100755 --- a/cmake/std/sems/remote-pull-test-push.sh +++ b/cmake/std/sems/remote-pull-test-push.sh @@ -61,6 +61,19 @@ else fi echo "Blocking or nonblocking: '$blocking_or_nonblocking'" +enable_all_packages=$4 +if [ "$enable_all_packages" == "" ] ; then + # Don't enable all packages + enable_all_packages_arg="" +elif [ "$enable_all_packages" == "all" ] ; then + enable_all_packages_arg="--enable-all-packages=on" +else + # Invalid value! + echo "Error: Forth argument value '$enable_all_packages' is not acceptable! Must pass in 'all' or empty ''!" + exit 4 +fi +echo "enable_all_packages_arg = '$enable_all_packages_arg'" + cd $local_trilinos_base_dir/Trilinos/ local_branch_name=`git rev-parse --abbrev-ref HEAD` @@ -94,7 +107,7 @@ remote_branch_update_cmnds="cd $remote_trilinos_base_dir/Trilinos && git checkou # will not allow the enable of the package. (This actually happened with the # Tempus package.) -remote_checkin_test_cmnds="cd $remote_trilinos_base_dir/Trilinos/CHECKIN && ./checkin-test-sems.sh --do-all --no-rebase --push" +remote_checkin_test_cmnds="cd $remote_trilinos_base_dir/Trilinos/CHECKIN && ./checkin-test-sems.sh $enable_all_packages_arg --do-all --no-rebase --push" cd $local_trilinos_base_dir