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

Copy format.sh and CONFIG.stress to the test/format build directory with CMake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.9, 5.0.3, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Storage - Ra 2021-08-23

      Description

      Reproducing the issue:

      # Build using CMake
      mkdir my_build
      cd my_build
      cmake -G Ninja ../.
      ninja
      # Execute format.sh
      cd ../test/format
      ./format.sh
      format.sh: format program "./t" not found

      If you copy the binary t to the current directory, the following issue occurs:

      format.sh: wt program "../../wt" not found 

      Would be great to check if other scripts expect paths that may not work when building with CMake.

      Definition of Done:

      Be able to run test/format after building with CMake.

        Attachments

          Activity

            People

            Assignee:
            etienne.petrel Etienne Petrel
            Reporter:
            etienne.petrel Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: