File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -98,12 +98,18 @@ input_ROI_mean=`awk 'NR>2 {print $2}' ${input_image}.roistats`
98
98
# and reuses its subset sensitivities
99
99
for recon in FBP2D FBP3DRP OSMAPOSL OSSPS; do
100
100
echo " ========== Testing ` command -v ${recon} ` "
101
- # check if we have CUDA code and parallelproj
101
+ # Check if we have CUDA code and parallelproj.
102
+ # If so, check for test files in CUDA/*
102
103
if stir_list_registries | grep -i cuda > /dev/null
103
104
then
104
105
if stir_list_registries | grep -i parallelproj > /dev/null
105
106
then
106
- extra_par_files=` ls CUDA/${recon} _test_sim* .par 2> /dev/null`
107
+ extra_par_files=` ls CUDA/${recon} _test_sim* .par 2> /dev/null`
108
+ if [ -n " $TRAVIS " -o -n " $GITHUB_WORKSPACE " ]; then
109
+ # The code runs inside Travis or GHA
110
+ echo " Not running ${extra_par_files} due to no CUDA run-time"
111
+ extra_par_files=" "
112
+ fi
107
113
fi
108
114
fi
109
115
for parfile in ${recon} _test_sim* .par ${extra_par_files} ; do
You can’t perform that action at this time.
0 commit comments