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

Two unittests have the same name causing unittest target to fail

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.18, 3.3.4
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • v3.2
    • Hide

      scons build/unittests

      Show
      scons build/unittests

      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.

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

              Created:
              Updated:
              Resolved: