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

Allow the user to pass command line config to the tests created in the test framework

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5

      When a test is started on the command line, for example:

      $ ./test_poc 

      We want the user to be able to pass a configuration string. e.g.:

      $ ./test_poc -C "collection_count=5,key_count=10000" 

      This configuration should be read and parsed in the main.c of each test however we don't want to duplicate the parsing code for each test, while also allowing the tests to have their own custom options if so desired.

      As such the work in this ticket is to:

       - Design a component that allows tests to easily take command line options, including the config one which should be standard.

       - Implement the design and add an example usage to test_poc.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: