Commit d84af86c authored by Shane Snyder's avatar Shane Snyder

cleanup automake testing

parent 6494c592
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
/*
* 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;
}
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment