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

Script for generating catch2 tests sometimes fails

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Test Catch2
    • None
    • Storage Engines

      The create_test.sh script for generating new catch2 tests no longer works as expected in some cases.

       

      Running the script without specifying a module results in a "directory not found", since the directory specified in the script (tests) does not match the actual default test directory (misc_tests). 

       


      The INCLUDE_SESSION_DIR also needs to be updated in order for newly generated test files to link properly.

       

      This script should be updated to match the current directory structure, including the above suggested changes, along with any other inconsistencies.

      The script should work as documented according to the existing comments and catch2 README.md.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alex.pullen@mongodb.com Alex Pullen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: