From e0a81ba6f24b194c7aa0c6828d422f1354256a09 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 8 Oct 2024 10:42:45 +0200 Subject: [PATCH] Skip fftw tests if building in debug mode Signed-off-by: falkTX --- bootstrap-plugins.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/bootstrap-plugins.sh b/bootstrap-plugins.sh index 35c229b..661b14a 100755 --- a/bootstrap-plugins.sh +++ b/bootstrap-plugins.sh @@ -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 @@ -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