tell how to make "scons test" pass

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      fedora 14 x86_64, using latest from git
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      "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

            Assignee:
            Kyle Banker (Inactive)
            Reporter:
            Jim Meyering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: