Skip to content

Commit

Permalink
add r4 default flag to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed Oct 6, 2023
1 parent bcd6a9d commit 2f941bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/github_autotools_gnu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
conf-flag: [ --disable-openmp, --disable-setting-flags, --with-mpi=no]
conf-flag: [ --disable-openmp, --disable-setting-flags, --with-mpi=no, --disable-r8-defaults]
input-flag: [--with-yaml, --enable-test-input=/home/unit_tests_input]
exclude:
- conf-flag: --with-mpi=no
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,10 @@ if test $enable_setting_flags = yes; then
if test $enable_r8_default = yes; then
GX_FC_DEFAULT_REAL_KIND8_FLAG([dnl
FCFLAGS="$FCFLAGS $FC_DEFAULT_REAL_KIND8_FLAG"])
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], false)
else
# disable mosaic unit tests if FMS is compiled in r4
AM_CONDITIONAL([SKIP_MOSAIC_TESTS], true)
fi

# individual mixed precision overloads
Expand Down
4 changes: 4 additions & 0 deletions test_fms/mosaic2/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ EXTRA_DIST = test_mosaic2.sh
# Run the test program.
TESTS = test_mosaic2.sh

if SKIP_MOSAIC_TESTS
TESTS_ENVIRONMENT = SKIP_TESTS="test_mosaic2.1 test_mosaic2.2 test_mosaic2.3 test_mosaic2.4"
endif

TEST_EXTENSIONS = .sh
SH_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
$(abs_top_srcdir)/test_fms/tap-driver.sh
Expand Down

0 comments on commit 2f941bc

Please sign in to comment.