From 03f60646b96b30f961ba7ae8d761b7bdda47fbc4 Mon Sep 17 00:00:00 2001 From: Guillaume Vernieres Date: Mon, 8 Jul 2024 19:17:01 -0400 Subject: [PATCH] ... --- ci/run_gw_ci.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ci/run_gw_ci.sh b/ci/run_gw_ci.sh index ff4a2ba6d..bd1936089 100755 --- a/ci/run_gw_ci.sh +++ b/ci/run_gw_ci.sh @@ -9,14 +9,15 @@ usage() { echo echo " -d Run build and ctest for clone in " echo " -o Path to output message detailing results of CI tests" - echo " -t run the tier-2 testing, default is OFF" + echo " -t run the tier-2 testing, default is false" echo " -h display this message and quit" echo exit 1 } # ============================================================================== -while getopts "d:o:h" opt; do +do_tier2=false +while getopts "d:o:h:t:" opt; do case $opt in d) repodir=$OPTARG @@ -25,14 +26,15 @@ while getopts "d:o:h" opt; do outfile=$OPTARG ;; t) - do_tier2=${OPTARG:-false} + do_tier2=$OPTARG ;; h|\?|:) usage ;; esac done - +echo "do_tier2: $do_tier2" +exit # ============================================================================== # start output file echo "Automated Global-Workflow GDASApp Testing Results:" > $outfile