[CDRIVER-40] tell how to make "scons test" pass Created: 17/Feb/11  Updated: 19/Oct/16  Resolved: 17/Feb/11

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.2

Type: Improvement Priority: Minor - P4
Reporter: Jim Meyering Assignee: Kyle Banker
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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



 Comments   
Comment by auto [ 17/Feb/11 ]

Author:

{u'login': u'banker', u'name': u'Kyle Banker', u'email': u'kylebanker@gmail.com'}

Message: CDRIVER-40 minor: docs on running tests
https://github.com/mongodb/mongo-c-driver/commit/129f1925e7d2c5edcdfa5124b98b87efa7244c48

Generated at Wed Feb 07 21:08:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.