Skip to content

Commit 6ab9a8e

Browse files
authored
Add smoke-fort unblocking to run_rocm_test.sh (#1224)
1 parent 5f53ebb commit 6ab9a8e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

bin/run_rocm_test.sh

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ else
6464
SUITE_LIST=${SUITE_LIST:-"examples smoke-limbo smoke smoke-asan omp5 openmpapps LLNL nekbone ovo sollve babelstream fortran-babelstream accel2023 hpc2021"}
6565
blockinglist="examples_fortran examples_openmp smoke smoke-limbo openmpapps sollve45 sollve50 babelstream ovo accel2023 hpc2021"
6666
fi
67-
EPSDB_LIST=${EPSDB_LIST:-"examples smoke-limbo smoke-dev smoke smoke-asan omp5 openmpapps LLNL nekbone ovo sollve babelstream fortran-babelstream accel2023 hpc2021 smoke-fort-limbo"}
67+
EPSDB_LIST=${EPSDB_LIST:-"examples smoke-limbo smoke-dev smoke smoke-asan omp5 openmpapps LLNL nekbone ovo sollve babelstream fortran-babelstream accel2023 hpc2021 smoke-fort smoke-fort-limbo"}
6868

6969
export AOMP_USE_CCACHE=0
7070

@@ -752,6 +752,23 @@ function smoke-fort-limbo(){
752752
fi
753753
}
754754

755+
SMOKE_FORT=${SMOKE_FORT:-1}
756+
function smoke-fort(){
757+
# Smoke-fails
758+
if [ ! -e $AOMP/bin/flang-new ]; then
759+
SMOKE_FORT=0
760+
fi
761+
if [ "$SMOKE_FORT" == "1" ]; then
762+
mkdir -p "$resultsdir"/smoke-fort
763+
cd "$aompdir"/test/smoke-fort
764+
./check_smoke_fort.sh
765+
checkrc $?
766+
copyresults smoke-fort "$aompdir"/test/smoke-fort
767+
else
768+
echo "Skipping smoke-fort."
769+
fi
770+
}
771+
755772
function omp5(){
756773
# Omp5
757774
mkdir -p "$resultsdir"/omp5

0 commit comments

Comments
 (0)