Improve the robustness of s_evergreen script

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.2.0, 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Joker - StorEng - 2023-10-17
    • 2

      When running the s_evergreen script on a source tree I encountered two different failures:

      ERROR [evg_cfg.py]: need to run this script inside a wiredtiger repo
      

      and

      python3 ./evg_cfg.py check
      find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
      

      The first is due to a check on the output of git config remote.origin.url not being robust enough (I don't know how I cloned something with a different URL, but I didn't do anything super weird to do it). The latter, I expect I have a different version of find which is more snarky.

              Assignee:
              Jie Chen
              Reporter:
              Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: