Skip to content

Commit

Permalink
testsuite: add test of canonical PMI-1 API
Browse files Browse the repository at this point in the history
Problem: the PMI_*() API functions don't have unit
tests per se.

Add a unit test for these interfaces.
  • Loading branch information
garlick committed Jun 5, 2019
1 parent ff4d053 commit 60847e1
Show file tree
Hide file tree
Showing 2 changed files with 411 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/common/libpmi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fluxinclude_HEADERS = \

TESTS = test_keyval.t \
test_simple.t \
test_canonical.t \
test_clique.t

test_ldadd = \
Expand Down Expand Up @@ -69,6 +70,13 @@ test_simple_t_SOURCES = \
test_simple_t_CPPFLAGS = $(test_cppflags)
test_simple_t_LDADD = $(test_ldadd)

test_canonical_t_SOURCES = \
test/canonical.c \
test/server_thread.c \
test/server_thread.h
test_canonical_t_CPPFLAGS = $(test_cppflags)
test_canonical_t_LDADD = $(test_ldadd)

test_clique_t_SOURCES = test/clique.c
test_clique_t_CPPFLAGS = $(test_cppflags)
test_clique_t_LDADD = $(test_ldadd)
Expand Down
Loading

0 comments on commit 60847e1

Please sign in to comment.