Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
TurTLE
TurTLE
Commits
f9597a28
Commit
f9597a28
authored
5 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
add test commands to CMake config
parent
6ddcee26
No related branches found
No related tags found
1 merge request
!26
Feature/stokes drag
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+22
-5
22 additions, 5 deletions
CMakeLists.txt
with
22 additions
and
5 deletions
CMakeLists.txt
+
22
−
5
View file @
f9597a28
...
...
@@ -3,20 +3,20 @@
# Copyright 2019 Max Planck Institute #
# for Dynamics and Self-Organization #
# #
# This file is part of
bfps.
#
# This file is part of
TurTLE.
#
# #
#
bfps
is free software: you can redistribute it and/or modify
#
#
TurTLE
is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published #
# by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
#
bfps
is distributed in the hope that it will be useful,
#
#
TurTLE
is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with
bfps
. If not, see <http://www.gnu.org/licenses/>
#
# along with
TurTLE
. If not, see <http://www.gnu.org/licenses/> #
# #
# Contact: Cristian.Lalescu@ds.mpg.de #
# #
...
...
@@ -350,6 +350,8 @@ set(hpp_for_lib
${
PROJECT_SOURCE_DIR
}
/cpp/full_code/NSVEcomplex_particles.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/full_code/NSVEp_extra_sampling.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_inner_computer.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_inner_computer_2nd_order.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_inner_computer_empty.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/abstract_particles_input.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/abstract_particles_output.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/abstract_particles_system.hpp
...
...
@@ -367,7 +369,6 @@ set(hpp_for_lib
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_distr_mpi.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_field_computer.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_generic_interp.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_inner_computer_empty.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_input_hdf5.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_output_hdf5.hpp
${
PROJECT_SOURCE_DIR
}
/cpp/particles/particles_output_mpiio.hpp
...
...
@@ -419,3 +420,19 @@ else()
install
(
CODE
"execute_process(COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PROJECT_SOURCE_DIR
}
/pc_host_info.py
${
PROJECT_BINARY_DIR
}
/python/TurTLE/host_info.py)"
)
endif
()
install
(
CODE
"execute_process(COMMAND python3
${
PROJECT_SOURCE_DIR
}
/setup.py install --force --prefix=
${
CMAKE_INSTALL_PREFIX
}
WORKING_DIRECTORY
${
PROJECT_BINARY_DIR
}
/python/)"
)
#####################################################################################
## Add tests
include
(
CTest
)
enable_testing
()
if
(
BUILD_TESTING
)
add_test
(
test_fftw turtle.test_fftw
)
add_test
(
test_Parseval turtle.test_Parseval
)
add_test
(
test_NSVEparticles turtle.test_NSVEparticles
)
add_test
(
test_pp_single_to_double turtle PP field_single_to_double --simname dns_nsveparticles --iter0 32 --iter1 32
)
add_test
(
test_pp_get_rfields turtle PP get_rfields --simname dns_nsveparticles --iter0 0 --iter1 64
)
add_test
(
test_pp_joint_acc_vel_stats turtle PP joint_acc_vel_stats --simname dns_nsveparticles --iter0 0 --iter1 64
)
add_test
(
test_pp_resize turtle PP resize --simname dns_nsveparticles --new_nx 96 --new_ny 96 --new_nz 96 --new_simname dns_nsveparticles_resized
)
endif
(
BUILD_TESTING
)
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