Mercurial > hg > openjdk > trees
changeset 38:339764362f72
Don't test release candidates, or tip
author | mr |
---|---|
date | Tue, 06 Mar 2018 11:49:15 -0800 |
parents | c3cf999f99ee |
children | 558d415ca1cc |
files | tests/hgext-test.gmk tests/verlist.py |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/hgext-test.gmk Tue Mar 06 11:49:15 2018 -0800 +++ b/tests/hgext-test.gmk Tue Mar 06 11:49:15 2018 -0800 @@ -139,6 +139,8 @@ # Run the tests with multiple hg versions. test-hg-versions: ${HG_REPO}/${changelog} ${VERLIST_TARGETS} +show-versions: ; @echo $(notdir ${VERLIST_TARGETS}) + # The tags in the mercurial repo (aside from tip) do not change, so no need to # retest with old hg versions unless trees.py has changed. Use .hg/requires # as a dependency to trigger a clone if it doesn't exist (using ${HG_REPO}
--- a/tests/verlist.py Tue Mar 06 11:49:15 2018 -0800 +++ b/tests/verlist.py Tue Mar 06 11:49:15 2018 -0800 @@ -97,6 +97,10 @@ for revspec in pats or [':']: tags += _verlist(repo, revspec) tags = [x[0] for x in tags] # Just the tag names + + # Skip release candidates, and tip + tags = filter(lambda t: not t.endswith('-rc') and t != "tip", tags) + if opts.get('lastmicro'): tags = _lastmicro(tags) ui.write(' '.join(tags))