Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dune-fem
dune-fem-dg
Commits
c4e63c25
Commit
c4e63c25
authored
11 years ago
by
Tobias Malkmus
Browse files
Options
Downloads
Patches
Plain Diff
only perform a 'make check' in nightly builds
parent
b8d954d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/fullcheck.sh
+42
-26
42 additions, 26 deletions
scripts/fullcheck.sh
scripts/opts/minimal.opts
+20
-2
20 additions, 2 deletions
scripts/opts/minimal.opts
with
62 additions
and
28 deletions
scripts/fullcheck.sh
+
42
−
26
View file @
c4e63c25
...
...
@@ -10,8 +10,8 @@ if test \( $# -lt 1 \) -o ! -e $1/$DUNECONTROL ; then
exit
1
fi
echo
"Full Check of dune-fem
o
-dg"
echo
"-------------------------
-
"
echo
"Full Check of dune-fem-dg"
echo
"-------------------------"
echo
echo
"Host Name:
$HOSTNAME
"
...
...
@@ -92,35 +92,51 @@ do
fi
done
#
build tarballs
# --------------
#
perform make check
# --------------
----
for
MODULE
in
$MODULES
;
do
# ignore missing modules since istl may be missing
if
!
test
-d
$DUNEDIR
/
$MODULE
;
then
continue
;
fi
echo
echo
"Making tarball in
$MODULE
..."
cd
$DUNEDIR
/
$MODULE
find
-maxdepth
1
-name
"*.tar.gz"
-delete
if
!
make dist &>
$WORKINGDIR
/
$MODULE
-dist
.out
;
then
echo
"Error: Cannot make tarball for
$MODULE
(see
$WORKINGDIR
/
$MODULE
-dist.out)"
if
test
$MODULE
==
dune-fem
;
then
errors
=
$((
errors+1
))
fi
fi
done
CHECKLOG
=
"
$WORKINGDIR
/minimal-check.out"
# check distributions
# -------------------
MAKE_CHECK_FLAGS
=
""
MAKE_CHECK_FLAGS
=
"
$(
source
$OPTSDIR
/
$OPTS
;
echo
$MAKE_CHECK_FLAGS
)
"
cd
$WORKINGDIR
if
!
$SCRIPTSDIR
/check-dist.sh
$DUNEDIR
;
then
if
!
$SCRIPTSDIR
/check-tests.sh
$TESTDIR
/dune-fem
"
$MAKE_CHECK_FLAGS
"
;
then
echo
"Error: Check failed with minimal options (see
$CHECKLOG
)"
errors
=
$((
errors+1
))
fi
mv
$WORKINGDIR
/check-tests.out
$CHECKLOG
## build tarballs
## --------------
#
#for MODULE in $MODULES ; do
# # ignore missing modules since istl may be missing
# if ! test -d $DUNEDIR/$MODULE ; then
# continue;
# fi
#
# echo
# echo "Making tarball in $MODULE..."
#
# cd $DUNEDIR/$MODULE
# find -maxdepth 1 -name "*.tar.gz" -delete
# if ! make dist &> $WORKINGDIR/$MODULE-dist.out ; then
# echo "Error: Cannot make tarball for $MODULE (see $WORKINGDIR/$MODULE-dist.out)"
# if test $MODULE == dune-fem ; then
# errors=$((errors+1))
# fi
# fi
#done
#
## check distributions
## -------------------
#
#cd $WORKINGDIR
#if ! $SCRIPTSDIR/check-dist.sh $DUNEDIR ; then
# errors=$((errors+1))
#fi
if
test
$errors
-gt
0
;
then
exit
1
...
...
This diff is collapsed.
Click to expand it.
scripts/opts/minimal.opts
+
20
−
2
View file @
c4e63c25
CONFIGURE_FLAGS="--disable-documentation \
# use these options for configure if no options a provided on the cmdline
# #AUTOGEN_FLAGS="--ac=2.59 --am=-1.8"
MODULEDIR=/hosts/raid5/aragorn/dune/modules/$HOSTTYPE
CONFIGURE_FLAGS="\
--enable-experimental-grid-extensions \
--enable-fieldvector-size-is-method \
--without-gmp \
--enable-experimental-grid-extensions"
--enable-parallel \
--with-petsc=$MODULEDIR/petsc \
--prefix=/hosts/gandalf/raid5/morgoth/dune/src/dune \
--with-alberta=$MODULEDIR/alberta \
--x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib \
--enable-fieldvector-size-is-method \
--disable-documentation \
--with-grape=$MODULEDIR/grape"
MAKE_FLAGS=
# These flags are necessary to perform grid specific checks!
MAKE_CHECK_FLAGS="GRIDTYPE=ALUGRID_SIMPLEX GRIDDIM=3"
MAKE_CHECK_DEPS="dune-alugrid"
MAKE_FLAGS=-j8
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment