Skip to content

Commit

Permalink
working on general fortran tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 25, 2019
1 parent f6b85f6 commit 112804c
Show file tree
Hide file tree
Showing 22 changed files with 24,761 additions and 8 deletions.
19 changes: 19 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,25 @@ AC_CONFIG_FILES(src/flib/piodarray.F90:src/flib/piodarray.F90.in2)
AC_CONFIG_FILES(src/flib/pionfatt_mod.F90:src/flib/pionfatt_mod.F90.in2)
AC_CONFIG_FILES(src/flib/pionfget_mod.F90:src/flib/pionfget_mod.F90.in2)
AC_CONFIG_FILES(src/flib/pionfput_mod.F90:src/flib/pionfput_mod.F90.in2)
AC_CONFIG_FILES(tests/general/ncdf_fail.F90:tests/general/ncdf_fail.F90.in2)
AC_CONFIG_FILES(tests/general/ncdf_get_put.F90:tests/general/ncdf_get_put.F90.in2)
AC_CONFIG_FILES(tests/general/ncdf_inq.F90:tests/general/ncdf_inq.F90.in2)
AC_CONFIG_FILES(tests/general/ncdf_simple_tests.F90:tests/general/ncdf_simple_tests.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_fillval.F90:tests/general/pio_decomp_fillval.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_frame_tests.F90:tests/general/pio_decomp_frame_tests.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_tests_1d.F90:tests/general/pio_decomp_tests_1d.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_tests_2d.F90:tests/general/pio_decomp_tests_2d.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_tests_3d.F90:tests/general/pio_decomp_tests_3d.F90.in2)
AC_CONFIG_FILES(tests/general/pio_decomp_tests.F90:tests/general/pio_decomp_tests.F90.in2)
AC_CONFIG_FILES(tests/general/pio_file_fail.F90:tests/general/pio_file_fail.F90.in2)
AC_CONFIG_FILES(tests/general/pio_file_simple_tests.F90:tests/general/pio_file_simple_tests.F90.in2)
AC_CONFIG_FILES(tests/general/pio_init_finalize.F90:tests/general/pio_init_finalize.F90.in2)
AC_CONFIG_FILES(tests/general/pio_iosystem_tests2.F90:tests/general/pio_iosystem_tests2.F90.in2)
AC_CONFIG_FILES(tests/general/pio_iosystem_tests3.F90:tests/general/pio_iosystem_tests3.F90.in2)
AC_CONFIG_FILES(tests/general/pio_iosystem_tests.F90:tests/general/pio_iosystem_tests.F90.in2)
AC_CONFIG_FILES(tests/general/pio_rearr.F90:tests/general/pio_rearr.F90.in2)
AC_CONFIG_FILES(tests/general/pio_rearr_opts2.F90:tests/general/pio_rearr_opts2.F90.in2)
AC_CONFIG_FILES(tests/general/pio_rearr_opts.F90:tests/general/pio_rearr_opts.F90.in2)

# Create the config.h file.
AC_CONFIG_HEADERS([config.h])
Expand Down
23 changes: 15 additions & 8 deletions tests/general/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
include $(top_srcdir)/set_flags.am

# Build the test for make check.
#check_PROGRAMS = pio_unit_test_driver
# pio_unit_test_driver_SOURCES = driver.F90
# pio_unit_test_driver_LDADD = libglobal_vars.la libncdf_tests.la \
# libbasic_tests.la ${top_builddir}/src/flib/libpiof.la ${top_builddir}/src/clib/libpio.la
# check_PROGRAMS = pio_init_finalize
# pio_init_finalize_SOURCES = pio_init_finalize.F90 util/pio_tutil.F90
# pio_init_finalize_LDADD = ${top_builddir}/src/flib/libpiof.la ${top_builddir}/src/clib/libpio.la

# # Build these uninstalled convenience libraries.
# Build these uninstalled convenience libraries.
# noinst_LTLIBRARIES = libglobal_vars.la libncdf_tests.la \
# libbasic_tests.la

Expand All @@ -21,11 +20,19 @@ include $(top_srcdir)/set_flags.am
# libncdf_tests_la_SOURCES = ncdf_tests.F90
# libbasic_tests_la_SOURCES = basic_tests.F90

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

# Distribute the test script.
EXTRA_DIST = CMakeLists.txt #run_tests.sh
EXTRA_DIST = CMakeLists.txt run_tests.sh ncdf_fail.F90.in2 \
ncdf_get_put.F90.in2 ncdf_inq.F90.in2 ncdf_simple_tests.F90.in2 \
pio_decomp_fillval.F90.in2 pio_decomp_frame_tests.F90.in2 \
pio_decomp_tests_1d.F90.in2 pio_decomp_tests_2d.F90.in2 \
pio_decomp_tests_3d.F90.in2 pio_decomp_tests.F90.in2 \
pio_file_fail.F90.in2 pio_file_simple_tests.F90.in2 \
pio_init_finalize.F90.in2 pio_iosystem_tests2.F90.in2 \
pio_iosystem_tests3.F90.in2 pio_iosystem_tests.F90.in2 \
pio_rearr.F90.in2 pio_rearr_opts2.F90.in2 pio_rearr_opts.F90.in2

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

0 comments on commit 112804c

Please sign in to comment.