### On x86 host
-CC=aarch64-linux-gnu-gcc LDFLAGS="-static -static-libgcc" make
+ CC=aarch64-linux-gnu-gcc LDFLAGS="-static -static-libgcc" make
### On Rasbberry Pi
-LDFLAGS="-static -static-libgcc" make
+ LDFLAGS="-static -static-libgcc" make
# Run test on target
execute on target
./sync.sh
+
./test.sh
+
./resync.sh
# Result exploitation
Extract data into a new directory
mkdir data
+
cd data
+
tar xvzf ../result-20251008-1534.tgz
+
../gettable.awk *.log > result.csv
+
file result.csv | grep -q UTF-8 && iconv -f utf-8 -t iso8859-1 result.csv > t && mv t result.csv
+
LANG=C libreoffice --convert-to ods result.csv
## Generate plots
../generateplot.sh *.dat
+
../generatecandle.sh result.csv
+
for f in *.pdf; do pdftoppm -png $f > ${f/pdf/png}; done
## Generate report
../generatedoc.sh *.tab > report.html
+
../addlogdate.sh *.log > date.html
+
sed -i '/<p>\.<\/p>/ r date.html' report.html
+
sed -i '/<p>\.<\/p>/ d' report.html
+
#libreoffice --convert-to odt report.html
+
LANG=C pandoc report.html -t odt -o report.odt
+
libreoffice --convert-to doc report.odt
## Date