Support Python test suite when building in different directories

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • WT2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None

      The test suite currently has a

      Unable to find source-code formatter for language: wt_builddir```. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       variable, that is set in 

      test/suite/run.py

      . The path is set to:
      
      

      wt_builddir = os.path.join(wt_disttop, 'build_posix')`

      That's not necessarily correct - sometimes I build from different directories (the root, or build_debug, etc). Which can lead to unexpected failures.

              Assignee:
              Unassigned
              Reporter:
              Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: