[CXX-10] Ensure test repo functions correctly on Windows. Created: 27/Jan/14  Updated: 06/Mar/14  Resolved: 06/Mar/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-0.0-26compat-2.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-56 Implicit dependencies not found when ... Closed
depends on CXX-3 Rebuilding check-install-mongoclient ... Closed
Related

 Description   

We have validated that the test repo builds and runs correctly on OS X and Linux, but not yet on Windows.



 Comments   
Comment by Tyler Brock [ 06/Mar/14 ]

The test repo and tagged release function as well as it did inside the server repository. There is much improvement to be done but I think the spirit of this ticket has been fulfilled for this release.

Comment by Tyler Brock [ 04/Mar/14 ]

Building mongoclient, check-install, and running clientTests passed for both 32-bit and 64-bit versions of the shared client. The static library doesn't seem to work however.

For future reference this is what we used to build the clientTests:

scons
  --use-system-boost
  --cache
  --sharedclient
  --cpppath <boost>
  --libpath <boost\libxx>
  --dynamic-windows
  --64/32
  --prefix=<prefix>
  --full
  .\sharedclient\clientTest.exe .\sharedclient\mongoclient.dll

Comment by Tyler Brock [ 19/Feb/14 ]

Windows builds using scons will only work when building a shared client library: --sharedclient is needed.

scons
  --64
  --cache
  --libpath=c:\local\boost_1_55_0\lib64-msvc-12.0
  --cpppath=c:\local\boost_1_55_0
  --use-system-boost
  --sharedclient
  all test

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