|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH] cr-daily-branch: Print better message re lack of push
wantpush might be false because
- OSSTEST_PUSH is false (only set to true in daily-cron-settings-real)
- baseline untested (what we had here)
- "$tree" is unknown (although I think this would fail elsewhere)
- input and output revisions are the same
Print the message "Published tested tree is already up to date" only
if that's actually the case.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
cr-daily-branch | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cr-daily-branch b/cr-daily-branch
index 02fef15..1d5ceb3 100755
--- a/cr-daily-branch
+++ b/cr-daily-branch
@@ -277,7 +277,11 @@ fi
if ! $wantpush; then
echo
- echo "Published tested tree is already up to date."
+ if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then
+ echo "Published tested tree is already up to date."
+ else
+ echo "Push not applicable."
+ fi
echo
elif $push; then
echo
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |