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

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

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

      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.

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

              Created:
              Updated:
              Resolved: