Skip to content

Commit

Permalink
check return
Browse files Browse the repository at this point in the history
  • Loading branch information
cancan101 committed Mar 30, 2018
1 parent 24623f9 commit e879a3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ function pre_build {
--enable-float --enable-sse --enable-sse2 --enable-avx
echo 'Testing fftw: single'
eval cd fftw-3.3.7/tests && false && make check-local && cd -
if [ "$?" -gt 0 ] ;
then
echo -e "Tests failed"
exit 1
fi

# Clear stamp file which prevents subsequent builds
rm fftw-stamp
Expand Down

0 comments on commit e879a3d

Please sign in to comment.