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

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.18, 3.3.4
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.2
    • Steps To Reproduce:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: