Skip to content

Commit 1821f17

Browse files
committed
Add the export tests to the testsuite
1 parent 87753bb commit 1821f17

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ include(FortunoTestHelpers)
88

99
add_subdirectory(unit)
1010
add_subdirectory(example)
11+
add_subdirectory(export)

test/export/CMakeLists.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This file is part of Fortuno.
2+
# Licensed under the BSD-2-Clause Plus Patent license.
3+
# SPDX-License-Identifier: BSD-2-Clause-Patent
4+
5+
if (FORTUNO_WITH_SERIAL)
6+
Fortuno_add_test(serial
7+
TEST_NAME export-serial
8+
)
9+
endif ()
10+
11+
if (FORTUNO_WITH_MPI)
12+
Fortuno_add_test(mpi
13+
TEST_NAME export-mpi
14+
)
15+
endif ()
16+
17+
if (FORTUNO_WITH_COARRAY)
18+
Fortuno_add_test(coarray
19+
TEST_NAME export-coarray
20+
)
21+
endif ()

0 commit comments

Comments
 (0)