Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Core Modules
dune-common
Commits
d982b923
Commit
d982b923
authored
9 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Finish rewriting the dune-common test suite
parent
593b57b1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/common/parallel/test/CMakeLists.txt
+9
-30
9 additions, 30 deletions
dune/common/parallel/test/CMakeLists.txt
with
9 additions
and
30 deletions
dune/common/parallel/test/CMakeLists.txt
+
9
−
30
View file @
d982b923
set
(
MPITESTPROGS indicestest indexsettest syncertest selectiontest variablesizecommunicatortest
)
dune_add_test
(
SOURCES indexsettest.cc
)
add_executable
(
"indexsettest"
indexsettest.cc
)
target_link_libraries
(
"indexsettest"
"dunecommon"
${
CMAKE_THREAD_LIBS_INIT
}
${}
)
dune_add_test
(
SOURCES indicestest.cc
LINK_LIBRARIES dunecommon
SKIP_ON_77
)
include
(
DuneMPI
)
add_executable
(
"indicestest"
indicestest.cc
)
target_link_libraries
(
"indicestest"
"dunecommon"
)
add_dune_mpi_flags
(
indicestest
)
dune_add_test
(
SOURCES selectiontest.cc
)
add_executable
(
"selectiontest"
selectiontest.cc
)
target_link_libraries
(
"selectiontest"
"dunecommon"
)
add_dune_mpi_flags
(
selectiontest
)
dune_add_test
(
SOURCES syncertest.cc
SKIP_ON_77
)
add_executable
(
"syncertest"
syncertest.cc
)
target_link_libraries
(
"syncertest"
"dunecommon"
)
add_dune_mpi_flags
(
syncertest
)
add_executable
(
"variablesizecommunicatortest"
variablesizecommunicatortest.cc
)
target_link_libraries
(
"variablesizecommunicatortest"
"dunecommon"
)
add_dune_mpi_flags
(
variablesizecommunicatortest
)
add_test
(
indexsettest indexsettest
)
add_test
(
selectiontest selectiontest
)
add_test
(
indicestest indicestest
)
add_test
(
syncertest syncertest
)
add_test
(
variablesizecommunicatortest variablesizecommunicatortest
)
# treat tests returning code 77 as skipped
set_tests_properties
(
indicestest
syncertest
variablesizecommunicatortest
PROPERTIES SKIP_RETURN_CODE 77
)
dune_add_test
(
SOURCES variablesizecommunicatortest.cc
SKIP_ON_77
)
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