Commit b41b4242 authored by James Willis's avatar James Willis
Browse files

.sh file will be generated from .sh.in file.

parent 25e9156f
#!/bin/bash
for v in {0..3}
do
for p in {0..2}
do
echo ""
rm -f brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat
echo "Running ./test125cells -n 6 -r 1 -d 0.1 -v $v -p $p -f perturbed"
./test125cells -n 6 -r 1 -d 0.1 -v $v -p $p -f perturbed
if [ -e brute_force_125_perturbed.dat ]
then
if python ./difffloat.py brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat ./tolerance_125_perturbed.dat 6
then
echo "Accuracy test passed"
else
echo "Accuracy test failed"
exit 1
fi
else
echo "Error Missing test output file"
exit 1
fi
echo "------------"
done
done
exit $?
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment