Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ssg
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
ssg
Commits
d84af86c
Commit
d84af86c
authored
Dec 13, 2018
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup automake testing
parent
6494c592
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
8 deletions
+48
-8
tests/Makefile.subdir
tests/Makefile.subdir
+14
-8
tests/ssg-pmix-test.c
tests/ssg-pmix-test.c
+27
-0
tests/test-util.sh
tests/test-util.sh
+7
-0
No files found.
tests/Makefile.subdir
View file @
d84af86c
if
SSG_HAVE_MPI
TESTS_ENVIRONMENT
+=
\
TIMEOUT
=
"
$(TIMEOUT)
"
\
MKTEMP
=
"
$(MKTEMP)
"
EXTRA_DIST
+=
\
tests/test-util.sh
if
SSG_HAVE_MPI
check_PROGRAMS
+=
\
tests/ssg-launch-group
\
tests/ssg-join-leave-group
tests/ssg-join-leave-group
\
tests/perf-regression/margo-p2p-latency
\
tests/perf-regression/margo-p2p-bw
TESTS
+=
\
tests/simple-group.sh
\
...
...
@@ -16,9 +20,11 @@ EXTRA_DIST += \
tests/simple-group.sh
\
tests/join-leave-group.sh
check_PROGRAMS
+=
tests/perf-regression/margo-p2p-latency
tests_perf_regression_margo_p2p_latency_LDADD
=
src/libssg.la
check_PROGRAMS
+=
tests/perf-regression/margo-p2p-bw
tests_perf_regression_margo_p2p_bw_LDADD
=
src/libssg.la
endif
if
SSG_HAVE_PMIX
check_PROGRAMS
+=
\
tests/ssg-pmix-test
endif
tests/ssg-pmix-test.c
0 → 100644
View file @
d84af86c
/*
* Copyright (c) 2016 UChicago Argonne, LLC
*
* See COPYRIGHT in top-level directory.
*/
#include <ssg-config.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <margo.h>
#include <pmix.h>
int
main
(
int
argc
,
char
*
argv
[])
{
pmix_proc_t
proc_info
;
pmix_status_t
ret
;
ret
=
PMIx_Init
(
&
proc_info
,
NULL
,
0
);
assert
(
ret
==
PMIX_SUCCESS
);
return
0
;
}
tests/test-util.sh
View file @
d84af86c
...
...
@@ -27,3 +27,10 @@ function launch_ssg_group_mpi ()
# launch SSG group given options
mpirun
-np
$nmembers
tests/ssg-launch-group
$options
$hg_addr
mpi
}
function
launch_ssg_group_pmix
()
{
nmembers
=
${
1
:-
4
}
prun
-n
$nmembers
tests/ssg-pmix-test
}
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