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

Improve error messaging in the test framework

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 5.0.0-rc2, 4.4.8, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage - Ra 2021-06-14

      Set the programname argument required in the test_util.h, to be the passed in test name in test.h.

      Similar to:

          public:
          test(const std::string &config, const std::string &name)
          {
              progname = name.c_str();
      

      Additionally change test_util.h to instead of using _func to using: PRETTY_FUNCTION_.

      This will make the error messages output a lot more human readable.

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: