OSSTEST_NO_BASELINE=y
OLD_REVISION=flight-`check_tested`
;;
- *) OLD_REVISION="`./ap-fetch-version-old $branch`";;
+ *)
+ if [ "x$OSSTEST_BASELINES_ONLY" = xy ] ; then
+ # We run on each upstream baseline exactly once so the
+ # last test will have tested the previous upstream baseline
+ OLD_REVISION=`check_tested --print-revision=$tree`
+ else
+ OLD_REVISION="`./ap-fetch-version-old $branch`"
+ fi
+ ;;
esac
export OLD_REVISION
fi
-if [ "x$OSSTEST_NO_BASELINE" != xy ] ; then
+if [ "x$OSSTEST_BASELINES_ONLY" = xy ] ; then
+ force_baseline=baselines-only
+ wantpush=false
+ skipidentical=true
+elif [ "x$OSSTEST_NO_BASELINE" != xy ] ; then
testedflight=`check_tested --revision-$tree="$OLD_REVISION"`
if [ "x$testedflight" = x ]; then
flight we test it, rather than a new candidate. The baseline, if
any, is the most recent actually tested revision.
+END
+ ;;
+ baselines-only)
+ subject_prefix="[$branch baseline-only test] "
+ cat >> $heading <<END
+This run is configured for baseline tests only.
+
END
;;
'') # Not forcing a baseline, nothing to say.
MAILTO=ian.jackson@citrix.com,ian.campbell@eu.citrix.com
# m h dom mon dow command
4-59/30 * * * * cd testing.git && BRANCHES='osstest' ./cr-for-branches branches -q "./cr-daily-branch --real"
+11-59/30 * * * * cd testing.git && OSSTEST_BASELINES_ONLY=y ./cr-for-branches branches -q "./cr-daily-branch --real"
46 7 * * 6 cd testing.git && BRANCHES='distros-debian-snapshot' ./cr-for-branches branches -w "./cr-daily-branch --real"
46 7 * * 5 cd testing.git && BRANCHES='distros-debian-sid' ./cr-for-branches branches -w "./cr-daily-branch --real"
46 7 * * 4 cd testing.git && BRANCHES='distros-debian-jessie' ./cr-for-branches branches -w "./cr-daily-branch --real"