Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10024

Simplify testutil_parse_opts tester to be less dependent on TEST_OPTS layout.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.1.0, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      As part of WT-9937, we added a way to test testutil_parse_opts in test/suite/wt9937_parse_opts. The test depends on the layout of TEST_OPTS to initialize a static array of expected values. However, every time we add a field to the test utility's TEST_OPTS, there is kind of an unexpected dependency, where we need to adjust the test program. There's a better way to set up the static array to eliminate this extra dependency. SInce our project will be adding more fields to TEST_OPTS here and there and probably beyond this project, this should be fixed.

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: