Skip to content

Commit

Permalink
starting to add fortran tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 22, 2019
1 parent a13a100 commit 5c139b0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,6 @@ AC_OUTPUT(Makefile
src/flib/Makefile
tests/Makefile
tests/cunit/Makefile
tests/unit/Makefile
examples/Makefile
examples/c/Makefile)
7 changes: 6 additions & 1 deletion tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@

# Ed Hartnett

SUBDIRS = cunit
# Does the user want to build fortran?
if BUILD_FORTRAN
UNIT = unit
endif

SUBDIRS = cunit ${UNIT}
22 changes: 22 additions & 0 deletions tests/unit/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## This is the automake file for building the Fortran tests for the
## PIO library.

# Ed Hartnett 3/20/19

# Link to our assembled library.
AM_LDFLAGS = ${top_builddir}/src/clib/libpio.la
AM_CPPFLAGS = -I$(top_srcdir)/src/clib
LDADD = ${top_builddir}/src/clib/libpio.la

# Build the tests for make check.
#check_PROGRAMS = test_intercomm2 test_async_mpi test_spmd


# Tests will run from a bash script.
#TESTS = run_tests.sh

# Distribute the test script.
#EXTRA_DIST = run_tests.sh

# Clean up files produced during testing.
CLEANFILES = *.nc *.log

0 comments on commit 5c139b0

Please sign in to comment.