Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-40

tell how to make "scons test" pass

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.2
    • None
    • None
    • None
    • fedora 14 x86_64, using latest from git

    Description

      "scons test" fails like this:

      /c/mongo-c-driver/test_simple 2> /dev/null
      failed to connect
      scons: *** [test] Error 1
      scons: building terminated because of errors.
      [Exit 2]

      I had to read the code to discover that that test required a mongod running on the right port,
      so I did this:

      mkdir .tmp && mongod --port=27017 --pidfilepath .tmp/pid --dbpath .tmp &

      with which, "scons test" succeeded

      Attachments

        Activity

          People

            kbanker Kyle Banker
            meyering Jim Meyering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: