Skip to content

Commit

Permalink
Added gtest applications to examples.
Browse files Browse the repository at this point in the history
Added documentation for installing the Google Test Framework in GTESTS.md.

Updated the .jenkins files to use gtest

Create target make gtest-all to make gtest-long have a more sane run time

Prevent user from attempting to use make gtest when Google Test is not enabled

To conserve disk on CI server, limit output of viz files during tests

Update GTESTS.md

fix typo in documentation
  • Loading branch information
deleeke committed Apr 26, 2017
1 parent 4b582b9 commit 8d64f5f
Show file tree
Hide file tree
Showing 451 changed files with 32,724 additions and 2,853 deletions.
47 changes: 26 additions & 21 deletions .jenkins_fulltest
@@ -1,25 +1,30 @@
#!/bin/bash
set -e
set -o pipefail
./configure \
CFLAGS="-Wall" \
CXXFLAGS="-Wall" \
FCFLAGS="-Wall" \
CC="ccache $HOME/linux/openmpi/1.10.2/bin/mpicc" \
CXX="ccache $HOME/linux/openmpi/1.10.2/bin/mpicxx" \
FC=$HOME/linux/openmpi/1.10.2/bin/mpif90 \
CPPFLAGS="-DOMPI_SKIP_MPICXX" \
LDFLAGS="-lgtest" \
--with-hypre=$PETSC_DIR/$PETSC_ARCH \
--with-samrai=$SAMRAI_DIR \
--with-hdf5=$HOME/linux/hdf5/1.8.16 \
--with-blitz=$HOME/linux/blitz/0.10 \
--with-silo=$HOME/linux/silo/4.10 \
--with-boost=$HOME/linux/boost/1.61.0 \
--enable-libmesh \
--with-libmesh=$HOME/linux/libmesh/1.0.0/1.0.0-debug \
--with-libmesh-method=dbg \
--config-cache

config() {
./configure \
CFLAGS="-Wall" \
CXXFLAGS="-Wall" \
FCFLAGS="-Wall" \
CC="ccache $HOME/linux/openmpi/1.10.2/bin/mpicc" \
CXX="ccache $HOME/linux/openmpi/1.10.2/bin/mpicxx" \
FC=$HOME/linux/openmpi/1.10.2/bin/mpif90 \
CPPFLAGS="-DOMPI_SKIP_MPICXX" \
--with-hypre=$PETSC_DIR/$PETSC_ARCH \
--with-samrai=$SAMRAI_DIR \
--with-hdf5=$HOME/linux/hdf5/1.8.16 \
--with-blitz=$HOME/linux/blitz/0.10 \
--with-silo=$HOME/linux/silo/4.10 \
--with-boost=$HOME/linux/boost/1.61.0 \
--enable-libmesh \
--with-libmesh=$HOME/linux/libmesh/1.0.0/1.0.0-debug \
--with-libmesh-method=dbg \
--enable-gsl \
--with-gsl=$HOME/linux/gsl/2.3 \
--enable-gtest \
--with-gtest=$HOME/linux/googletest
}
config
make -kj4 lib
make -kj4 examples
cd examples
make gtest-long
48 changes: 26 additions & 22 deletions .jenkins_quicktest
@@ -1,25 +1,29 @@
#!/bin/bash
set -e
set -e
set -o pipefail
./configure \
CFLAGS="-Wall" \
CXXFLAGS="-Wall" \
FCFLAGS="-Wall" \
CC="ccache $HOME/linux/openmpi/1.10.2/bin/mpicc" \
CXX="ccache $HOME/linux/openmpi/1.10.2/bin/mpicxx" \
FC=$HOME/linux/openmpi/1.10.2/bin/mpif90 \
CPPFLAGS="-DOMPI_SKIP_MPICXX" \
LDFLAGS="-lgtest" \
--with-hypre=$PETSC_DIR/$PETSC_ARCH \
--with-samrai=$SAMRAI_DIR \
--with-hdf5=$HOME/linux/hdf5/1.8.16 \
--with-blitz=$HOME/linux/blitz/0.10 \
--with-silo=$HOME/linux/silo/4.10 \
--with-boost=$HOME/linux/boost/1.61.0 \
--enable-libmesh \
--with-libmesh=$HOME/linux/libmesh/1.0.0/1.0.0-debug \
--with-libmesh-method=dbg \
--config-cache

config() {
./configure \
CFLAGS="-Wall" \
CXXFLAGS="-Wall" \
FCFLAGS="-Wall" \
CC="ccache $HOME/linux/openmpi/1.10.2/bin/mpicc" \
CXX="ccache $HOME/linux/openmpi/1.10.2/bin/mpicxx" \
FC=$HOME/linux/openmpi/1.10.2/bin/mpif90 \
CPPFLAGS="-DOMPI_SKIP_MPICXX" \
--with-hypre=$PETSC_DIR/$PETSC_ARCH \
--with-samrai=$SAMRAI_DIR \
--with-hdf5=$HOME/linux/hdf5/1.8.16 \
--with-blitz=$HOME/linux/blitz/0.10 \
--with-silo=$HOME/linux/silo/4.10 \
--with-boost=$HOME/linux/boost/1.61.0 \
--enable-libmesh \
--with-libmesh=$HOME/linux/libmesh/1.0.0/1.0.0-debug \
--with-libmesh-method=dbg \
--enable-gsl \
--with-gsl=$HOME/linux/gsl/2.3 \
--enable-gtest \
--with-gtest=$HOME/linux/googletest
}
config
make -kj4 lib
make -kj4 examples
make gtest

0 comments on commit 8d64f5f

Please sign in to comment.