fftw: Fix ptest result reporting

Fixes
  AssertionError:-
  ptests which had no test results:
  ['fftw']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 46d69cd07c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2023-09-30 20:06:46 -07:00 committed by Armin Kuster
parent f1a083c94a
commit 2bb6bb3dad

View File

@ -10,21 +10,18 @@ cd ../fftwl
/usr/bin/perl -w ./check.pl -r -c=30 -v `pwd`/benchl
fftwl_result=$?
echo -n "fftw test result:"
if [ $fftw_result = "0" ]; then
echo PASSED
echo "PASS: fftw"
else
echo FAILED
echo "FAIL: fftw"
fi
echo -n "fftwf test result:"
if [ $fftwf_result = "0" ]; then
echo PASSED
echo "PASS: fftwf"
else
echo FAILED
echo "FAIL: fftwf"
fi
echo -n "fftwl test result:"
if [ $fftwl_result = "0" ]; then
echo PASSED
echo "PASS: fftwl"
else
echo FAILED
echo "FAIL: fftwl"
fi