aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fftw/fftw/run-ptest
blob: 6d8dd96f0266d63690177b407bec636bd62cb19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

cd fftw
/usr/bin/perl -w ./check.pl  -r -c=30 -v `pwd`/bench
fftw_result=$?
cd ../fftwf
/usr/bin/perl -w ./check.pl  -r -c=30 -v `pwd`/benchf
fftwf_result=$?
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
else
	echo FAILED
fi
echo -n "fftwf test result:"
if [ $fftwf_result = "0" ]; then
	echo PASSED
else
	echo FAILED
fi
echo -n "fftwl test result:"
if [ $fftwl_result = "0" ]; then
	echo PASSED
else
	echo FAILED
fi