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
b4f68711
Commit
b4f68711
authored
May 13, 2017
by
Matthieu Schaller
Browse files
Correctly added the perturbed version of the test125cells.
parent
e102105d
Changes
5
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
b4f68711
...
...
@@ -65,6 +65,7 @@ tests/parser_output.yml
tests/test27cells.sh
tests/test27cellsPerturbed.sh
tests/test125cells.sh
tests/test125cellsPerturbed.sh
tests/testPair.sh
tests/testPairPerturbed.sh
tests/testParser.sh
...
...
configure.ac
View file @
b4f68711
...
...
@@ -853,6 +853,7 @@ AC_CONFIG_FILES([tests/testPairPerturbed.sh], [chmod +x tests/testPairPerturbed.
AC_CONFIG_FILES([tests/test27cells.sh], [chmod +x tests/test27cells.sh])
AC_CONFIG_FILES([tests/test27cellsPerturbed.sh], [chmod +x tests/test27cellsPerturbed.sh])
AC_CONFIG_FILES([tests/test125cells.sh], [chmod +x tests/test125cells.sh])
AC_CONFIG_FILES([tests/test125cellsPerturbed.sh], [chmod +x tests/test125cellsPerturbed.sh])
AC_CONFIG_FILES([tests/testParser.sh], [chmod +x tests/testParser.sh])
# Save the compilation options
...
...
tests/Makefile.am
View file @
b4f68711
...
...
@@ -92,6 +92,6 @@ testLogger_SOURCES = testLogger.c
# Files necessary for distribution
EXTRA_DIST
=
testReading.sh makeInput.py testPair.sh testPairPerturbed.sh
\
test27cells.sh test27cellsPerturbed.sh testParser.sh
\
test125cells.sh test125cells.sh testParserInput.yaml difffloat.py
\
test125cells.sh test125cells
Perturbed
.sh testParserInput.yaml difffloat.py
\
tolerance_125.dat tolerance_27_normal.dat tolerance_27_perturbed.dat
\
tolerance_pair_normal.dat tolerance_pair_perturbed.dat
tests/test125cellsPerturbed.sh
deleted
100755 → 0
View file @
e102105d
#!/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
"./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
python ./difffloat.py brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat ./tolerance_125_perturbed.dat 6
else
exit
1
fi
done
done
exit
$?
tests/test125cellsPerturbed.sh.in
View file @
b4f68711
...
...
@@ -20,5 +20,5 @@ do
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