Skip to content
Snippets Groups Projects
Commit a5164581 authored by Stefan Girke's avatar Stefan Girke
Browse files

change build script: Note: make build_tests; make test will build tests

parent 699f6dd0
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ fi
# NOTE: Zoltan has to be downloaded separately from
#change appropriately, i.e. 2.3 or empty (which refers to master)
DUNEVERSION=2.4
DUNEVERSION=
# your favorite compiler optimization flags
FLAGS="-O3 -DNDEBUG"
......@@ -72,13 +72,16 @@ CONFIGURE_FLAGS=\"CXXFLAGS=\\\"$FLAGS\\\" \\
# fi
DUNEBRANCH=
ALUGRIDBRANCH=
FEMBRANCH=
FEMDGBRANCH=
if [ "$DUNEVERSION" != "" ] ; then
DUNEBRANCH="-b releases/$DUNEVERSION"
ALUGRIDBRANCH="-b releases/2.4"
FEMBRANCH="-b releases/2.4-dune-fem-dg"
FEMDGBRANCH="-b releases/2.4"
fi
ALUGRIDBRANCH="-b releases/2.4"
FEMBRANCH="-b releases/2.4-dune-fem-dg"
FEMDGBRANCH="-b releases/2.4"
# get all dune modules necessary
for MOD in $DUNEMODULES ; do
if [ "$MOD" == "dune-alugrid" ] ; then
......@@ -105,4 +108,9 @@ fi
cd dune-fem-dg/build-cmake
TARGET=test
BUILD_TARGET=build_tests
# first build tests (compiling...)...
make $MAKE_FLAGS $BUILD_TARGET
# ... then run tests
make $MAKE_FLAGS $TARGET
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment