CMakeLists.txt 3.29 KB
Newer Older
1
# set(DUNE_MAX_TEST_CORES 4)
2

3
4
5
dune_add_test(SOURCES AccessTest.cpp
  LINK_LIBRARIES amdis)

Müller, Felix's avatar
Müller, Felix committed
6
7
8
dune_add_test(SOURCES AdaptInfoTest.cpp
  LINK_LIBRARIES amdis)

9
foreach(_GRID RANGE 7)
10
11
12
13
14
15
16
17
  dune_add_test(NAME "BackupRestoreTest_${_GRID}"
    SOURCES BackupRestoreTest.cpp
    COMPILE_DEFINITIONS "GRID_ID=${_GRID}"
    LABELS "BackupRestore"
    LINK_LIBRARIES amdis)
  add_dune_alberta_flags(GRIDDIM 2 WORLDDIM 2 "BackupRestoreTest_${_GRID}")
endforeach()
unset(_GRID)
18

19
20
21
dune_add_test(SOURCES ConceptsTest.cpp
  LINK_LIBRARIES amdis)

22
23
24
25
26
27
dune_add_test(SOURCES DataTransferTest2d.cpp
  LINK_LIBRARIES amdis)

dune_add_test(SOURCES DataTransferTest3d.cpp
  LINK_LIBRARIES amdis)

28
29
30
31
32
33
dune_add_test(SOURCES DOFMappingTest.cpp
  LINK_LIBRARIES amdis
  MPI_RANKS 2
  TIMEOUT 300
  CMAKE_GUARD MPI_FOUND)

Praetorius, Simon's avatar
Praetorius, Simon committed
34
35
36
dune_add_test(SOURCES DOFVectorTest.cpp
  LINK_LIBRARIES amdis)

37
dune_add_test(SOURCES DiscreteFunctionTest.cpp
38
  LINK_LIBRARIES amdis)
39

40
dune_add_test(SOURCES ExpressionsTest.cpp
41
  LINK_LIBRARIES amdis)
42

43
44
45
dune_add_test(SOURCES FakeContainerTest.cpp
  LINK_LIBRARIES amdis)

46
47
48
dune_add_test(SOURCES FieldMatVecTest.cpp
  LINK_LIBRARIES amdis)

49
50
51
dune_add_test(SOURCES FiniteElementTypeTest.cpp
  LINK_LIBRARIES amdis)

52
53
54
dune_add_test(SOURCES FilesystemTest.cpp
  LINK_LIBRARIES amdis)

55
56
57
dune_add_test(SOURCES FlatMatVecTest.cpp
  LINK_LIBRARIES amdis)

58
59
60
61
62
63
dune_add_test(SOURCES GlobalIdSetTest.cpp
  LINK_LIBRARIES amdis
  MPI_RANKS 2
  TIMEOUT 300
  CMAKE_GUARD MPI_FOUND)

64
65
66
dune_add_test(SOURCES GradientTest.cpp
  LINK_LIBRARIES amdis)

67
68
69
dune_add_test(SOURCES HybridSizeTest.cpp
  LINK_LIBRARIES amdis)

70
71
72
73
74
75
dune_add_test(SOURCES ISTLCommTest.cpp
  LINK_LIBRARIES amdis
  MPI_RANKS 2 4
  TIMEOUT 300
  CMAKE_GUARD "MPI_FOUND AND dune-istl_FOUND")

Praetorius, Simon's avatar
Praetorius, Simon committed
76
dune_add_test(SOURCES IntegrateTest.cpp
77
  LINK_LIBRARIES amdis)
Praetorius, Simon's avatar
Praetorius, Simon committed
78

Praetorius, Simon's avatar
Praetorius, Simon committed
79
dune_add_test(SOURCES MarkerTest.cpp
80
  LINK_LIBRARIES amdis)
Praetorius, Simon's avatar
Praetorius, Simon committed
81

82
83
84
85
86
87
dune_add_test(SOURCES MpiWrapperTest.cpp
  LINK_LIBRARIES amdis
  MPI_RANKS 2 4
  TIMEOUT 300
  CMAKE_GUARD "MPI_FOUND")

88
89
90
dune_add_test(SOURCES MultiTypeVectorTest.cpp
  LINK_LIBRARIES amdis)

91
92
93
dune_add_test(SOURCES MultiTypeMatrixTest.cpp
  LINK_LIBRARIES amdis)

94
95
96
dune_add_test(SOURCES NodeIndicesTest.cpp
  LINK_LIBRARIES amdis)

97
98
99
dune_add_test(SOURCES OperationsTest.cpp
  LINK_LIBRARIES amdis)

100
101
102
dune_add_test(SOURCES OperatorsTest.cpp
  LINK_LIBRARIES amdis)

103
104
105
106
107
108
109
110
111
112
113
114
115
116
if(BACKEND STREQUAL "ISTL")
foreach(_GRID RANGE 6)
  dune_add_test(NAME "ParallelIndexSetTest_${_GRID}"
    SOURCES ParallelIndexSetTest.cpp
    COMPILE_DEFINITIONS "GRID_ID=${_GRID}"
    LABELS "ParallelIndexSetTest"
    LINK_LIBRARIES amdis
    MPI_RANKS 2 3 4
    TIMEOUT 300
    CMAKE_GUARD MPI_FOUND)
endforeach()
unset(_GRID)
endif()

117
118
119
dune_add_test(SOURCES ProblemStatTest.cpp
  LINK_LIBRARIES amdis)

120
121
122
dune_add_test(SOURCES RangeTypeTest.cpp
  LINK_LIBRARIES amdis)

123
124
125
dune_add_test(SOURCES ResizeTest.cpp
  LINK_LIBRARIES amdis)

Praetorius, Simon's avatar
Praetorius, Simon committed
126
dune_add_test(SOURCES StaticSizeTest.cpp
Praetorius, Simon's avatar
Praetorius, Simon committed
127
128
  LINK_LIBRARIES amdis)

129
130
dune_add_test(SOURCES StringTest.cpp
  LINK_LIBRARIES amdis)
131

Praetorius, Simon's avatar
Praetorius, Simon committed
132
133
134
dune_add_test(SOURCES SwitchCasesTest.cpp
  LINK_LIBRARIES amdis)

135
136
dune_add_test(SOURCES TreeDataTest.cpp
  LINK_LIBRARIES amdis)
137
138
139

dune_add_test(SOURCES TreeContainerTest.cpp
  LINK_LIBRARIES amdis)
140
141
142

dune_add_test(SOURCES TypeTraitsTest.cpp
  LINK_LIBRARIES amdis)
143
144

dune_add_test(SOURCES UniqueBorderPartitionTest.cpp
145
146
147
148
  LINK_LIBRARIES amdis
  MPI_RANKS 2
  TIMEOUT 300
  CMAKE_GUARD MPI_FOUND)