Minor updates to the nightly scripts
This commit was SVN r27419.
Этот коммит содержится в:
родитель
95db4b7536
Коммит
bad08cdf7e
@ -23,8 +23,8 @@ script_dir=/u/mpiteam/scripts
|
|||||||
|
|
||||||
# The tarballs to make
|
# The tarballs to make
|
||||||
if [ $# -eq 0 ] ; then
|
if [ $# -eq 0 ] ; then
|
||||||
# We're no longer ever checking the 1.0 - 1.3 branches anymore
|
# We're no longer ever checking the 1.0 - 1.4 branches anymore
|
||||||
dirs="/branches/v1.4 /trunk /branches/v1.5"
|
dirs="/trunk /branches/v1.7 /branches/v1.6"
|
||||||
else
|
else
|
||||||
dirs=$@
|
dirs=$@
|
||||||
fi
|
fi
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
# The tarballs to make
|
# The tarballs to make
|
||||||
if [ $# -eq 0 ] ; then
|
if [ $# -eq 0 ] ; then
|
||||||
dirs="branches/v1.5"
|
dirs="branches/v1.6"
|
||||||
else
|
else
|
||||||
dirs=$@
|
dirs=$@
|
||||||
fi
|
fi
|
||||||
@ -41,6 +41,16 @@ for dir in $dirs; do
|
|||||||
module load "autotools/ompi-$ver"
|
module load "autotools/ompi-$ver"
|
||||||
|
|
||||||
./$script $@ >dist.out 2>&1
|
./$script $@ >dist.out 2>&1
|
||||||
|
if test "$?" != "0"; then
|
||||||
|
cat <<EOF
|
||||||
|
=============================================================================
|
||||||
|
== Dist failure
|
||||||
|
== Last few lines of output (full results in dist.out file):
|
||||||
|
=============================================================================
|
||||||
|
EOF
|
||||||
|
tail -n 20 dist.out
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
module unload "autotools"
|
module unload "autotools"
|
||||||
done
|
done
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user