Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gtest applications to examples.
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
Showing
451 changed files
with
32,724 additions
and
2,853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.