Skip to content

Commit

Permalink
Update testAll.sh
Browse files Browse the repository at this point in the history
This should fix the cut error when running make test of local dfit
  • Loading branch information
RAHenriksen authored May 6, 2024
1 parent 2b38971 commit 2567c4f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/testAll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@ if [[ $? -ne 0 ]]; then
RVAL=$((128+RVAL))
fi
# Remove 'ncall' column and round values, since it fails on GitHub tests
zcat output/test_dfit_local_10threads.dfit.gz | cut -f 1-6,8- | head -n 10 | numfmt -d $'\t' --header --format='%.2f' --field=2- --invalid=ignore | sort -r > output/test_dfit_local_10threads.dfit.fix

#zcat output/test_dfit_local_10threads.dfit.gz | cut -f 1-6,8- | head -n 10 | numfmt -d $'\t' --header --format='%.2f' --field=2- --invalid=ignore | sort -r > output/test_dfit_local_10threads.dfit.fix
zcat output/test_dfit_local_10threads.dfit.gz > tmp.txt
head -n 10 tmp.txt > tmp2.txt
rm tmp.txt
cut -f 1-6,8- tmp2.txt| numfmt -d $'\t' --header --format='%.2f' --field=2- --invalid=ignore > output/test_dfit_local_10threads.dfit.fix
rm tmp2.txt

echo "Running dfit global"
CMD="${PRG} dfit output/test_getdamage_global.bdamage.gz --showfits 2 --seed 12345 --lib ds --out output/test_dfit_global"
Expand Down

0 comments on commit 2567c4f

Please sign in to comment.