@@ -41,15 +41,15 @@ checked_exec()
4141
4242run_tutorial_checks ()
4343{
44- cmd=" ./bin/reframe -C tutorial/config/settings.py --exec-policy=async \
44+ cmd=" ./bin/reframe -C tutorial/config/settings.py \
4545--save-log-files -r -t tutorial $@ "
4646 echo " Running tutorial checks with \` $cmd '"
4747 checked_exec $cmd
4848}
4949
5050run_user_checks ()
5151{
52- cmd=" ./bin/reframe -C config/cscs.py --exec-policy=async -- save-log-files \
52+ cmd=" ./bin/reframe -C config/cscs.py --save-log-files \
5353-r --flex-alloc-nodes=2 -t production|benchmark $@ "
5454 echo " Running user checks with \` $cmd '"
5555 checked_exec $cmd
@@ -160,10 +160,7 @@ elif [ $CI_TUTORIAL -eq 1 ]; then
160160 grep -e ' ^tutorial/(?!config/).*\.py' ) )
161161
162162 if [ ${# tutorialchecks[@]} -ne 0 ]; then
163- tutorialchecks_path=" "
164- for check in ${tutorialchecks[@]} ; do
165- tutorialchecks_path=" ${tutorialchecks_path} -c ${check} "
166- done
163+ tutorialchecks_path=" -c $( IFS=: eval ' echo "${tutorialchecks[*]}"' ) "
167164
168165 echo " ========================"
169166 echo " Modified tutorial checks"
@@ -197,10 +194,7 @@ else
197194 userchecks=( $( git diff origin/master...HEAD --name-only --oneline --no-merges | \
198195 grep -e ' ^cscs-checks/.*\.py' ) )
199196 if [ ${# userchecks[@]} -ne 0 ]; then
200- userchecks_path=" "
201- for check in ${userchecks[@]} ; do
202- userchecks_path=" ${userchecks_path} -c ${check} "
203- done
197+ userchecks_path=" -c $( IFS=: eval ' echo "${userchecks[*]}"' ) "
204198
205199 echo " ===================="
206200 echo " Modified user checks"
0 commit comments