Commit 901091ca authored by Dries Kimpe's avatar Dries Kimpe
Browse files

Fix build quality test/autotest scripts

- Update README in scripts dir
- Revert "initial testing script implementation"
  This reverts commit 511a1dc7.
parent afe59aca
bmi @ b7a189c3
Subproject commit b7a189c3a923d33f6a2e1b0f9c90240149587a13
......@@ -6,16 +6,28 @@ export IOFWD_SRCDIR=your_local_git_checkout_dir
Next you need to set the configure options/flags in
scripts/configoptions.your_host_name
== Please do not modify any of the scripts directly and do not commit ==
== any of the configoptions.yourhostname as they are specific to your ==
== system. ==
Then run scripts/prepush.sh before pushing to the master repository.
Overview:
scripts/prepush.sh: will build all revision that will be pushed on git push
scripts/doeconfig.sh: will configure source tree using options from configfile
scripts/runtest.sh: will run make distcheck with the correct options
* scripts/prepush.sh:
- will build all revision that will be pushed on git push
* scripts/doeconfig.sh:
- will configure source tree using options from configfile
* scripts/runtest-rev.sh <gitrev>:
- builds and tests the specified git rev (use HEAD for current)
head of your local branch
(note: this is NOT does not include uncommitted (local) changes)
* scripts/runtest-range.sh <range>: builds and tests specified range
- uses runtest-rev.sh internally
* scripts/runtest.sh:
- will run make distcheck with the correct options
(i.e. builds your current source tree)
scripts/runtest-rev.sh <gitrev>: builds and tests the specified git rev
scripts/runtest-range.sh <range>: builds and tests specified range
Logs will be in ${IOFWD_SRCDIR}/buildlogs.
runtest-rev.log will, for each revision tested using runtest-rev.sh,
......@@ -27,3 +39,4 @@ scripts/runtest-rev.sh HEAD
scripts/runtest-range.sh abc12..bcds23
......@@ -3,7 +3,6 @@
#
# Prepares, builds and tests
#
IOFWD_SRCDIR=/homes/rjdamore/iofsl
SRCDIR=$PWD
if test -z "${IOFWD_SRCDIR}" ; then
echo "Need IOFWD_SRCDIR ! (to find configoptions)"
......@@ -18,10 +17,12 @@ if test -r "${CONFIGFILE}" ; echo "config file is $CONFIGFILE" ; then
else echo "could not use config file"
fi
OLDDIR="${PWD}"
cd ${SRCDIR}
./prepare || exit 1
${SRCDIR}/configure ${DISTCHECK_CONFIGURE_FLAGS} || exit 2
make distcheck || exit 3
cd "${OLDDIR}"
${SRCDIR}/configure ${CONFIGURE_OPTIONS} || exit 2
make distcheck || exit 3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment