Skip to content

Commit

Permalink
Skip fftw tests if building in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Oct 8, 2024
1 parent 39b5a62 commit e0a81ba
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions bootstrap-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,10 @@ fi
download fftw "${FFTW_VERSION}" "${FFTW_URL}"
build_autoconf fftw "${FFTW_VERSION}" "${FFTW_EXTRAFLAGS}"

if [ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]; then
run_make fftw "${FFTW_VERSION}" check
if [ -z "${PAWPAW_DEBUG}" ] || [ "${PAWPAW_DEBUG}" -eq 0 ]; then
if [ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]; then
run_make fftw "${FFTW_VERSION}" check
fi
fi

fi # PAWPAW_SKIP_FFTW
Expand All @@ -341,8 +343,10 @@ fi
copy_download fftw fftwf "${FFTW_VERSION}"
build_autoconf fftwf "${FFTW_VERSION}" "${FFTWF_EXTRAFLAGS}"

if [ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]; then
run_make fftwf "${FFTW_VERSION}" check
if [ -z "${PAWPAW_DEBUG}" ] || [ "${PAWPAW_DEBUG}" -eq 0 ]; then
if [ -z "${PAWPAW_SKIP_TESTS}" ] || [ "${PAWPAW_SKIP_TESTS}" -eq 0 ]; then
run_make fftwf "${FFTW_VERSION}" check
fi
fi

fi # PAWPAW_SKIP_FFTW
Expand Down

0 comments on commit e0a81ba

Please sign in to comment.