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

Improve error messaging in the test framework

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.1.0, 5.0.0-rc2
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            alex.cameron Alex Cameron
            Reporter:
            luke.pearson Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: