[SERVER-20754] mongo/util/options_parser/options_parser_test fails Created: 05/Oct/15 Updated: 28/Sep/16 Resolved: 27/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | 3.1.8 |
| Fix Version/s: | 3.2.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Marek Skalický | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: | Build MongoDB with system boost 1.59 |
||||||||||||||||
| Sprint: | Platform B (10/30/15) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
I was trying to build MongoDB with boost 1.59 and optons_parser_test was failing.
This is the bug in this test. This exception is expected - see the mailing list question http://lists.boost.org/boost-users/2015/09/85096.php Documentation of boost::typed_value::implicit_value Specifies an implicit value, which will be used if the option is given, but without an adjacent value. Using this implies that an explicit value is optional, but if given, must be strictly adjacent to the option, i.e.: ' So with this args:
test should fail also with boost 1.56 ... ! Attached patch should fix this. |
| Comments |
| Comment by Mark Benvenuto [ 22/Mar/16 ] | ||
|
This change was reverted by | ||
| Comment by Githook User [ 27/Oct/15 ] | ||
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: | ||
| Comment by Marek Skalický [ 19/Oct/15 ] | ||
|
Also some other tests are failing due to this error. Boost-1.59 contains full patch. There is only one problem that CommandLineEmptyString test don't pass with
So it mentioned patch this test is disabled. Do you know, where the problem could be? |