Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
33010791
Commit
33010791
authored
7 years ago
by
James Willis
Browse files
Options
Downloads
Patches
Plain Diff
Added testInteractions to test suite.
parent
b20734aa
No related branches found
No related tags found
1 merge request
!396
Avx512 fixes
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+1
-0
1 addition, 0 deletions
configure.ac
tests/Makefile.am
+2
-2
2 additions, 2 deletions
tests/Makefile.am
tests/testInteractions.sh.in
+24
-0
24 additions, 0 deletions
tests/testInteractions.sh.in
with
27 additions
and
2 deletions
configure.ac
+
1
−
0
View file @
33010791
...
...
@@ -856,6 +856,7 @@ 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/testPeriodicBC.sh], [chmod +x tests/testPeriodicBC.sh])
AC_CONFIG_FILES([tests/testPeriodicBCPerturbed.sh], [chmod +x tests/testPeriodicBCPerturbed.sh])
AC_CONFIG_FILES([tests/testInteractions.sh], [chmod +x tests/testInteractions.sh])
AC_CONFIG_FILES([tests/testParser.sh], [chmod +x tests/testParser.sh])
# Save the compilation options
...
...
This diff is collapsed.
Click to expand it.
tests/Makefile.am
+
2
−
2
View file @
33010791
...
...
@@ -24,7 +24,7 @@ TESTS = testGreetings testMaths testReading.sh testSingle testKernel testSymmetr
testPair.sh testPairPerturbed.sh test27cells.sh test27cellsPerturbed.sh
\
testParser.sh testSPHStep test125cells.sh test125cellsPerturbed.sh testFFT
\
testAdiabaticIndex testRiemannExact testRiemannTRRS testRiemannHLLC
\
testMatrixInversion testThreadpool testDump testLogger
\
testMatrixInversion testThreadpool testDump testLogger
testInteractions.sh
\
testVoronoi1D testVoronoi2D testVoronoi3D
\
testPeriodicBC.sh testPeriodicBCPerturbed.sh
...
...
@@ -98,5 +98,5 @@ EXTRA_DIST = testReading.sh makeInput.py testPair.sh testPairPerturbed.sh \
testPeriodicBCPerturbed.sh test125cells.sh test125cellsPerturbed.sh testParserInput.yaml
\
difffloat.py tolerance_125_normal.dat tolerance_125_perturbed.dat
\
tolerance_27_normal.dat tolerance_27_perturbed.dat tolerance_27_perturbed_h.dat
\
tolerance_pair_normal.dat tolerance_pair_perturbed.dat
\
tolerance_pair_normal.dat tolerance_pair_perturbed.dat
tolerance_testInteractions.dat
\
fft_params.yml tolerance_periodic_BC_normal.dat tolerance_periodic_BC_perturbed.dat
This diff is collapsed.
Click to expand it.
tests/testInteractions.sh.in
0 → 100644
+
24
−
0
View file @
33010791
#!/bin/bash
echo
""
rm
-f
test_nonsym_density_serial.dat test_nonsym_density_vec.dat
echo
"Running ./testInteractions"
./testInteractions
if
[
-e
test_nonsym_density_serial.dat
]
then
if
python @srcdir@/difffloat.py test_nonsym_density_serial.dat test_nonsym_density_vec.dat @srcdir@/tolerance_testInteractions.dat
then
echo
"Accuracy test passed"
else
echo
"Accuracy test failed"
exit
1
fi
else
echo
"Error Missing test output file"
exit
1
fi
echo
"------------"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment