force avoid cpu 0
authorLaurent MAZET <laurent.mazet@thalesgroup.com>
Sat, 13 Dec 2025 00:46:27 +0000 (01:46 +0100)
committerLaurent MAZET <laurent.mazet@thalesgroup.com>
Sat, 13 Dec 2025 00:46:27 +0000 (01:46 +0100)
test.sh

diff --git a/test.sh b/test.sh
index fbcf053079936061a6670f423ad22116f0de2b7d..1f0d66c1d589014e973e50f467dd7bd6bbaef5b5 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -22,11 +22,12 @@ run() {
   for exe in *.exe; do
     test=$(echo $exe | sed 's/\.exe//')
     name=$test-${dcore}k-${load}%-m${mode}
+    [ -f $name.log ] && { echo "skip test $*"; continue; }
     echo -e "\033[0;1mTest $test\033[0;0m"
     date | tee $name.log
     ./getinfo.sh | tee -a $name.log
     echo "CPU load: $load% ($lcpu/$nbcpu)" | tee -a $name.log
-    { ./$exe -d 1 -k $dcore -m $mode -n $nbtests -s -o $name.dat | tee -a $name.log; \
+    { ./$exe -d 1 -p 1 -k $dcore -m $mode -n $nbtests -s -o $name.dat | tee -a $name.log; \
       kill -2 $(ps -e | awk '/[l]oad/ || /[s]leep/ { print $1 }') 2>/dev/null; } &
     which taskset >&/dev/null && which chrt >&/dev/null && \
     { sleep 2; check $exe | tee -a $name.log; } &