Skip to content

Commit

Permalink
fix(expes): readable logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreo committed Nov 26, 2024
1 parent 4c53822 commit 9ff430b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions expes/32bits_sample-test_HC-rand-init/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ SECONDS=0 # Bash' env
s=0
while [[ 1 ]] ; do
s=$((s+1))
printf "Run $s..."
cmd="../../release/search @2024-11-26_expe__32bits_sample-test_HC-rand-init.status --seed=${s} --nb-tests=$(((2**32-1)/1000)) > ${resdir}/run_s${s}.yaml 2>${resdir}/run_s${s}.log"
printf "Run $s..."
echo "$cmd"
$cmd
if [[ $? > 0 ]]; then
printf "Run $s... FAIL"
else
printf " OK"
printf "Run $s... OK"
fi
duration=$SECONDS
printf " at $((duration/60)) minutes $((duration % 60)) seconds\n"
Expand Down
8 changes: 4 additions & 4 deletions expes/8bits_full-test_HC-rand-init/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ SECONDS=0 # Bash' env
s=0
while [[ 1 ]] ; do
s=$((s+1))
printf "Run $s..."
cmd="../../release/search @2024-11-26_expe__8bits_full-test_HC-rand-init.status --seed=${s} > ${resdir}/run_s${s}.yaml 2>${resdir}/run_s${s}.log"
cmd="../../release/search @2024-11-26_expe__8bits_full-test_HC-rand-init.status --seed=${s}"
printf "Run $s...\n"
echo "$cmd"
$cmd
$cmd > ${resdir}/run_s${s}.yaml 2>${resdir}/run_s${s}.log
if [[ $? > 0 ]]; then
printf "Run $s... FAIL"
else
printf " OK"
printf "Run $s... OK"
fi
duration=$SECONDS
printf " at $((duration/60)) minutes $((duration % 60)) seconds\n"
Expand Down

0 comments on commit 9ff430b

Please sign in to comment.