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

Two unittests have the same name causing unittest target to fail

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.2.18, 3.3.4
    • Build
    • None
    • Fully Compatible
    • ALL
    • v3.2
    • Hide

      scons build/unittests

      Show
      scons build/unittests

    Description

      Trying to build the build/unittests target leads to the following error

      result = self.execfunction(target=target, source=rsources, env=env)
      File "/usr/lib/scons/SCons/Tool/install.py", line 215, in installFunc
      "Installing source %s into target %s: target and source lists must have same length."%(list(map(str, source)), list(map(str, target)))
      AssertionError: Installing source ['build/opt/mongo/db/s/metadata_test', 'build/opt/mongo/rpc/metadata_test'] into target ['build/unittests/metadata_test']: target and source lists must have same length.
      scons: building terminated because of errors.

      Attachments

        Issue Links

          Activity

            People

              geert.bosch@mongodb.com Geert Bosch
              geert.bosch@mongodb.com Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: