Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
yaxt
Commits
281dba41
Commit
281dba41
authored
Jun 13, 2020
by
Thomas Jahns
🤸
Browse files
Make white box-test narrower.
parent
cb575d73
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
281dba41
...
...
@@ -252,6 +252,8 @@ test_misc_f_SOURCES = test_misc_f.f90
test_misc_f_LDADD
=
$(XT_FC_LDADD)
test_mpi_generate_datatype_SOURCES
=
test_mpi_generate_datatype.c tests.h
test_mpi_smartdedup_SOURCES
=
test_mpi_smartdedup.c tests.h
test_mpi_smartdedup_LDADD
=
libtestutil.la ../src/xt_mpi.lo
\
../src/core/xmalloc.lo ../src/core/core.lo
$(MPI_C_LIB)
AM_CFLAGS
=
-I
../inst_headers
$(MPI_C_INCLUDE)
AM_FCFLAGS
=
$(FC_MOD_FLAG)
../inst_headers/f90
$(MPI_FC_MOD)
...
...
tests/test_mpi_smartdedup.c
View file @
281dba41
...
...
@@ -53,11 +53,7 @@
#include "tests.h"
extern
MPI_Comm
xt_mpi_comm_smart_dup
(
MPI_Comm
comm
,
int
*
tag_offset
);
extern
void
xt_mpi_comm_smart_dedup
(
MPI_Comm
*
comm
,
int
tag_offset
);
#include "../src/xt_mpi_internal.h"
static
void
comms_construct_destruct
(
MPI_Comm
comm_world
);
...
...
@@ -67,11 +63,11 @@ int main(void)
// init mpi
xt_mpi_call
(
MPI_Init
(
NULL
,
NULL
),
MPI_COMM_WORLD
);
xt_
initialize
(
MPI_COMM_WORLD
);
xt_
mpi_init
(
);
comms_construct_destruct
(
MPI_COMM_WORLD
);
xt_mpi_comm_mark_exclusive
(
MPI_COMM_WORLD
);
comms_construct_destruct
(
MPI_COMM_WORLD
);
xt_finalize
();
xt_
mpi_
finalize
();
xt_mpi_call
(
MPI_Finalize
(),
MPI_COMM_WORLD
);
return
TEST_EXIT_CODE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment