Cleanup some of the test areas.
Add a memset to if.c so that purify and valgrind stop complaining about uninitialized memory. This commit was SVN r4988.
Этот коммит содержится в:
родитель
9b2b3ec078
Коммит
abd1048646
@ -126,6 +126,9 @@ static int ompi_ifinit(void)
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
||||
/* initialize the memory so valgrind and purify won't complain */
|
||||
memset(ifconf.ifc_req, 0, ifc_len);
|
||||
|
||||
if(ioctl(sd, SIOCGIFCONF, &ifconf) < 0) {
|
||||
/* if we got an einval, we probably don't have enough
|
||||
space. so we'll fall down and try to expand our
|
||||
|
@ -17,24 +17,24 @@ include $(top_srcdir)/config/Makefile.options
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/test/support -DOMPI_ENABLE_DEBUG_OVERRIDE=1
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_ns_replica \
|
||||
test_ns_proxy \
|
||||
ns_replica \
|
||||
ns_proxy \
|
||||
ns_nds
|
||||
|
||||
TESTS = \
|
||||
$(check_PROGRAMS)
|
||||
|
||||
test_ns_replica_SOURCES = test_ns_replica.c
|
||||
test_ns_replica_LDADD = \
|
||||
ns_replica_SOURCES = ns_replica.c
|
||||
ns_replica_LDADD = \
|
||||
$(top_builddir)/test/support/libsupport.a \
|
||||
$(top_builddir)/src/libmpi.la
|
||||
test_ns_replica_DEPENDENCIES = $(test_ns_replica_LDADD)
|
||||
ns_replica_DEPENDENCIES = $(ns_replica_LDADD)
|
||||
|
||||
test_ns_proxy_SOURCES = test_ns_proxy.c
|
||||
test_ns_proxy_LDADD = \
|
||||
ns_proxy_SOURCES = ns_proxy.c
|
||||
ns_proxy_LDADD = \
|
||||
$(top_builddir)/test/support/libsupport.a \
|
||||
$(top_builddir)/src/libmpi.la
|
||||
test_ns_proxy_DEPENDENCIES = $(test_ns_proxy_LDADD)
|
||||
ns_proxy_DEPENDENCIES = $(ns_proxy_LDADD)
|
||||
|
||||
ns_nds_SOURCES = ns_nds.c
|
||||
ns_nds_LDADD = \
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user