You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Tests] If Constants.Version is not correctly generated, builds do not fail #4859
If during a merge, there is an issue and the Constants.Version is not correctly generated, we do have no automated way to notice it. This has happened already at least once resulting in the PR #4856 after @spouliot show it manually, the monitoring team missed it because the build was successful.
@mandel-macaque double check (it might exists) but a Version.[Try]Parse] tests that ensure it works and that Revision is not -1 (iirc it's the default) should to the trick.
@mandel-macaque I meant that a Version.Parse test on that string might already exists and "12.3." could be a valid string :) In that case we simply need to check there's a valid (not default) Revision
Activity
spouliot commentedon Sep 20, 2018
@mandel-macaque double check (it might exists) but a
Version.[Try]Parse]tests that ensure it works and thatRevisionis not-1(iirc it's the default) should to the trick.mandel-macaque commentedon Sep 20, 2018
@spouliot if it exists, is not ran in the bots, which is also an issue :/
I should have seen a failure in the commits.
spouliot commentedon Sep 20, 2018
@mandel-macaque I meant that a
Version.Parsetest on that string might already exists and "12.3." could be a valid string :) In that case we simply need to check there's a valid (not default)Revisionspouliot commentedon Oct 16, 2018
So
Version.TryParse ("12.3.", out var version)returnsfalseand would have caught the situation. I'll add this to our unit tests (both XI and XM).[tests][linkall] Add a check that the Makefile produced version numbe…
Squashed commit of the following:
Squashed commit of the following:
Squashed commit of the following: