Commit 652a2039 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Build tests when 'make check'.

parent 4cc2b7a5
......@@ -8,39 +8,39 @@ PPFCCOMPILE = $(FC) $(FCDEFS) $(DEFAULT_INCLUDES) $(FCCPPFLAGS) $(AM_FCFLAGS) $(
LDADD = $(top_builddir)/src/libsct.la
noinst_PROGRAMS = test_precision
check_PROGRAMS = test_precision
if FORTRAN_INTERFACE
noinst_PROGRAMS += test_sct
check_PROGRAMS += test_sct
endif
if HDF5
noinst_PROGRAMS += test_hdf5
noinst_PROGRAMS += test_hdf5_fortran
check_PROGRAMS += test_hdf5
check_PROGRAMS += test_hdf5_fortran
LDADD += $(LTLIBHDF5)
endif
if PAPI
noinst_PROGRAMS += test_papi
check_PROGRAMS += test_papi
LDADD += $(LTLIBPAPI)
endif
if !MPI
if !OPENMP
noinst_PROGRAMS += test_serial
check_PROGRAMS += test_serial
endif
if OPENMP
noinst_PROGRAMS += test_omp
check_PROGRAMS += test_omp
endif
endif
if MPI
if MPICHECK
if !OPENMP
noinst_PROGRAMS += test_mpi
check_PROGRAMS += test_mpi
endif
if OPENMP
noinst_PROGRAMS += test_hybrid
check_PROGRAMS += test_hybrid
endif
endif
endif
......
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