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

Enable diagnostic mode for the CPP tests in evergreen

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.0.4, 4.4.10, 5.2.0, 5.1.0-rc0
    • None
    • None
    • 2
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: