Skip to contentSkip to conversation

fftw: Fix ptest result reporting

PATCH New Khem Raj 1 participant 2 messages Oct 1, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 fftw: Fix ptest result reporting

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

---
 meta-oe/recipes-support/fftw/fftw/run-ptest | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-support/fftw/fftw/run-ptest +3 -3
index 6d8dd96f02..45641c3277 100644
@@ -10,19 +10,19 @@ cd ../fftwl
 /usr/bin/perl -w ./check.pl  -r -c=30 -v `pwd`/benchl
 fftwl_result=$?
 
-echo -n "fftw  test result:"
+echo -n "fftw  test result: "
 if [ $fftw_result  = "0" ]; then
 	echo PASSED
 else
 	echo FAILED
 fi
-echo -n "fftwf test result:"
+echo -n "fftwf test result: "
 if [ $fftwf_result = "0" ]; then
 	echo PASSED
 else
 	echo FAILED
 fi
-echo -n "fftwl test result:"
+echo -n "fftwl test result: "
 if [ $fftwl_result = "0" ]; then
 	echo PASSED
 else
Signature · 1 line
2.42.0
author
#1 lore raw

PATCH 2/2 nodejs: Fix ptest result reporting

This fixes
AssertionError:-
ptests which had no test results:
['nodejs']

---
 meta-oe/recipes-devtools/nodejs/nodejs/run-ptest | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-devtools/nodejs/nodejs/run-ptest +5 -0
index 07a8f2a99c..531dbd86d1 100755
@@ -1,3 +1,8 @@
 #!/bin/sh
 
 ./cctest
+if [ $? = 0 ]; then
+  echo "Result: PASSED"
+else
+  echo "Result: FAILED"
+fi
Signature · 1 line
2.42.0