Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
b41b4242
Commit
b41b4242
authored
Aug 22, 2017
by
James Willis
Browse files
.sh file will be generated from .sh.in file.
parent
25e9156f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test125cellsPerturbed.sh
deleted
100755 → 0
View file @
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
$?
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment