Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11095

getAllSourceFiles doesn't get all source files

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.2
    • Affects Version/s: 2.5.2
    • Component/s: Build
    • Fully Compatible
    • ALL
    • Storage 2017-01-23

      When scons calls checkErrorCodes(), it uses getAllSourceFiles() to look in all the source files. This function is designed to not follow symlinks, so if you have set up your Enterprise module as a symlink, none of the module's files will be checked. This can result in broken builds, since most of the Enterprise builders are set up without symlinks. At worst, it can result in a build with conflicting assert codes, or assert codes of 0.

            Assignee:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: