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

Enable diagnostic mode for the CPP tests in evergreen

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Storage - Ra 2021-10-18

      Description

      We need the flag --enable-diagnostic for our CPP tests so our calls to WT_ASSERT are enabled.

      Suggested fix:

      diff --git a/test/evergreen.yml b/test/evergreen.yml
      index 0a9642ed3..7fc412779 100755
      --- a/test/evergreen.yml
      +++ b/test/evergreen.yml
      @@ -2918,7 +2918,7 @@ buildvariants:
           make_command: PATH=/opt/mongodbtoolchain/v3/bin:$PATH make
           posix_configure_flags:
             --enable-silent-rules --enable-python --enable-zlib --enable-snappy
      -      --enable-strict --enable-static
      +      --enable-strict --enable-static --enable-diagnostic
         tasks:
           - name: compile
           - name: cppsuite-hs-cleanup-stress 

      Definition of Done:

      • Asserts are working
      • Run all the existing tests and see if it affects their performance
        • Fix them if it does

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            etienne.petrel Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: