From: Laurent MAZET Date: Mon, 6 Oct 2025 17:37:22 +0000 (+0200) Subject: update scripts X-Git-Tag: v1.0~54 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=30f7d5f1015eb1c6d6e90f3a33c4d67228d7e741;p=benchmarks.git update scripts --- diff --git a/sync.sh b/sync.sh index 7c0e17a..75300a0 100755 --- a/sync.sh +++ b/sync.sh @@ -1,8 +1,13 @@ #!/bin/sh +HOST=mazet@192.168.1.1 + # ssh-keygen -# cat ~/.ssh/id_rsa.pub | ssh mazet@192.168.1.1 "cat >> ~/.ssh/authorized_keys" +# cat ~/.ssh/id_rsa.pub | ssh $HOST "cat >> ~/.ssh/authorized_keys" + +date $(ssh $HOST date +%m%d%H%M%Y) + for f in cyclictest hackbench '*.exe' '*.sh'; do -scp mazet@192.168.1.1:benchmarks/$f . + scp $HOST:benchmarks/$f . done rm load.exe diff --git a/test.sh b/test.sh index e4bd24e..eca0eb2 100755 --- a/test.sh +++ b/test.sh @@ -6,6 +6,7 @@ function run() { load=$1 for exe in *.exe; do test=${exe/.exe/} + echo -e "\033[0;1mTest $test\033[0;0m" ./getinfo.sh | tee $test-$load.log pid=-1 { ./$exe -d 1 -n 10000 -s -o $test-$load.dat | tee -a $test-$load.log; \