Skip to content

Commit b53515a

Browse files
authored
check return
1 parent fd835fd commit b53515a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config.sh

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ function pre_build {
1818
--enable-float --enable-sse --enable-sse2 --enable-avx
1919
echo 'Testing fftw: single'
2020
eval cd fftw-3.3.7/tests && false && make check-local && cd -
21+
if [ "$?" -gt 0 ] ;
22+
then
23+
echo -e "Tests failed"
24+
exit 1
25+
fi
2126

2227
# Clear stamp file which prevents subsequent builds
2328
rm fftw-stamp

0 commit comments

Comments
 (0)