From c9b16c02fd22a821c89fbb348dcaa633367b5c33 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Mon, 8 Jan 2018 10:26:22 -0700 Subject: [PATCH] fixed problem with test_intercomm2.c --- tests/cunit/Makefile.am | 23 +++++++++++------------ tests/cunit/run_tests.sh | 3 +-- tests/cunit/test_intercomm2.c | 1 + 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/tests/cunit/Makefile.am b/tests/cunit/Makefile.am index bc57d5435e8..6a8604f9c52 100644 --- a/tests/cunit/Makefile.am +++ b/tests/cunit/Makefile.am @@ -9,17 +9,16 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/clib # Build the tests for make check. -#test_intercomm2 -check_PROGRAMS = test_async_mpi test_spmd test_async_simple \ -test_async_3proc test_async_4proc test_iosystem2_simple \ -test_iosystem2_simple2 test_iosystem2 test_iosystem3_simple \ -test_iosystem3_simple2 test_iosystem3 test_pioc test_pioc_unlim \ -test_pioc_putget test_pioc_fill test_darray test_darray_multi \ -test_darray_multivar test_darray_multivar2 test_darray_multivar3 \ -test_darray_1d test_darray_3d test_decomp_uneven test_decomps \ -test_rearr test_darray_async_simple test_darray_async \ -test_darray_async_many test_darray_2sync test_async_multicomp \ -test_async_multi2 test_async_manyproc +check_PROGRAMS = test_intercomm2 test_async_mpi test_spmd \ +test_async_simple test_async_3proc test_async_4proc \ +test_iosystem2_simple test_iosystem2_simple2 test_iosystem2 \ +test_iosystem3_simple test_iosystem3_simple2 test_iosystem3 test_pioc \ +test_pioc_unlim test_pioc_putget test_pioc_fill test_darray \ +test_darray_multi test_darray_multivar test_darray_multivar2 \ +test_darray_multivar3 test_darray_1d test_darray_3d \ +test_decomp_uneven test_decomps test_rearr test_darray_async_simple \ +test_darray_async test_darray_async_many test_darray_2sync \ +test_async_multicomp test_async_multi2 test_async_manyproc # Tests will run from a bash script. TESTS = run_tests.sh @@ -37,7 +36,7 @@ TESTS = run_tests.sh # test_async_multicomp test_async_multi2 test_async_manyproc # Source code for each test. -#test_intercomm2_SOURCES = test_intercomm2.c test_common.c pio_tests.h +test_intercomm2_SOURCES = test_intercomm2.c test_common.c pio_tests.h test_async_simple_SOURCES = test_async_simple.c test_common.c pio_tests.h test_async_4proc_SOURCES = test_async_4proc.c test_common.c pio_tests.h test_iosystem2_simple_SOURCES = test_iosystem2_simple.c test_common.c pio_tests.h diff --git a/tests/cunit/run_tests.sh b/tests/cunit/run_tests.sh index 10d0f5280e9..4ccdc78d32c 100755 --- a/tests/cunit/run_tests.sh +++ b/tests/cunit/run_tests.sh @@ -9,8 +9,7 @@ trap exit SIGINT SIGTERM printf 'running PIO tests...\n' -# test_intercomm2 -PIO_TESTS='test_async_mpi test_spmd test_rearr test_async_simple '\ +PIO_TESTS='test_intercomm2 test_async_mpi test_spmd test_rearr test_async_simple '\ 'test_async_3proc test_async_4proc test_iosystem2_simple test_iosystem2_simple2 '\ 'test_iosystem2 test_iosystem3_simple test_iosystem3_simple2 test_iosystem3 test_pioc '\ 'test_pioc_unlim test_pioc_putget test_pioc_fill test_darray test_darray_multi '\ diff --git a/tests/cunit/test_intercomm2.c b/tests/cunit/test_intercomm2.c index 6131e0ef85f..115761b9ffd 100644 --- a/tests/cunit/test_intercomm2.c +++ b/tests/cunit/test_intercomm2.c @@ -9,6 +9,7 @@ * @author Ed Hartnett * */ +#include #include #include #include