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

Implement "check" target in CMake build

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: cmake, libbson, libmongoc
    • Labels:
      None

      The CMake build currently has a dummy "check" target that exists only to allow the "distcheck" sequence to complete successfully. The "check" target needs to be updated to properly invoke test-libmongoc (same as the autotools "check" target). An consideration is maybe we can implement "make test" in cmake to run test-libmongoc with MONGOC_TEST_LIVE=off (unless the outside environment explicitly set MONGOC_TEST_LIVE=on) then have "make check" depend on that "make test" target. The "make distcheck" already depends on "make check".

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: