Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2170

cmake -DBUILD_TESTING=OFF does not disable building all tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.30.0
    • proton-c-0.33.0
    • build
    • None

    Description

      Compile as in PROTON-2145, that means

      mkdir _build
      cd _build
      cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local\
        -DSYSINSTALL_BINDINGS=ON\
        -DBUILD_STATIC_LIBS=ON\
        -DBUILD_TESTING=OFF\
        -DENABLE_FUZZ_TESTING=OFF\
        -DFUZZ_REGRESSION_TESTS=OFF
      
      make -j4
      make install
      

      (leave out -DBUILD_WITH_CXX=ON)

      Despite -DBUILD_TESTING=OFF, the following is being built

      [ 42%] Built target test_main
      [ 45%] Built target c-core-test
      [ 45%] Built target c-extra-test
      [ 46%] Built target c-ssl-proactor-test
      [ 47%] Built target c-proactor-test
      [ 65%] Built target interop_test
      [ 65%] Built target credit_test
      [ 65%] Built target reconnect_test
      [ 66%] Built target codec_test
      [ 67%] Built target value_test
      [ 68%] Built target connection_driver_test
      [ 84%] Built target scalar_test
      [ 85%] Built target message_test
      [ 85%] Built target link_test
      [ 86%] Built target container_test
      [ 87%] Built target cpp-test
      [ 88%] Built target map_test
      

      Attachments

        Issue Links

          Activity

            People

              jdanek Jiri Daněk
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: