cleaning
authorMazet Laurent <laurent.mazet@thalesgroup.com>
Fri, 5 Dec 2025 16:29:28 +0000 (17:29 +0100)
committerMazet Laurent <laurent.mazet@thalesgroup.com>
Fri, 5 Dec 2025 16:29:28 +0000 (17:29 +0100)
readme.md

index 03ac0d63795fc778bcf27340198dcc3494ebeab4..3a0ffa0ad4145e12609af8b65a645e9cfaf50e29 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -10,11 +10,11 @@ CC=arm-linux-gnueabihf-gcc LDFLAGS="-static -static-libgcc" make
 
 ### 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
 
@@ -25,7 +25,9 @@ copy synch.sh on target
 execute on target
 
   ./sync.sh
+
   ./test.sh
+
   ./resync.sh
 
 # Result exploitation
@@ -35,26 +37,39 @@ execute on target
 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