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

Enable C++11 example testing for C++11 build environments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.18.0
    • cpp-binding
    • None

    Description

      I have a C+11 Proton build, but the C+11 examples aren't exercised in the tests.

      [jross@localhost bld (ssorj-deprecations)]$ ctest -VV -R cpp-example-container
      UpdateCTestConfiguration  from :/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
      Parse Config file:/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
      UpdateCTestConfiguration  from :/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
      Parse Config file:/home/jross/code/qpid-proton-ssorj/bld/DartConfiguration.tcl
      Test project /home/jross/code/qpid-proton-ssorj/bld
      Constructing a list of tests
      Done constructing a list of tests
      Updating test list for fixtures
      Added 0 tests to meet fixture requirements
      Checking test dependency graph...
      Checking test dependency graph end
      test 25
          Start 25: cpp-example-container
      
      25: Test command: /usr/bin/python "/home/jross/code/qpid-proton-ssorj/proton-c/env.py" "PYTHONPATH=/home/jross/code/qpid-proton-ssorj/tools/py" "PATH=/home/jross/code/qpid-proton-ssorj/bld/examples/cpp:/home/jross/bin:/home/jross/.local/bin:/home/jross/.local/sbin:/home/jross/.local/node_modules/.bin:/usr/libexec/python2-sphinx:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin" "--" "/usr/bin/python" "/home/jross/code/qpid-proton-ssorj/examples/cpp/example_test.py" "-v" "ContainerExampleTest"
      25: Test timeout computed to be: 1500
      25: test_encode_decode (__main__.ContainerExampleTest) ... ok
      25: test_flow_control (__main__.ContainerExampleTest) ... ok
      25: test_helloworld (__main__.ContainerExampleTest) ... ok
      25: test_helloworld_direct (__main__.ContainerExampleTest) ... ok
      25: test_message_properties (__main__.ContainerExampleTest) ... ok
      25: test_multithreaded_client (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
      25: test_multithreaded_client_flow_control (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
      25: test_request_response (__main__.ContainerExampleTest) ... ok
      25: test_request_response_direct (__main__.ContainerExampleTest) ... ok
      25: test_scheduled_send (__main__.ContainerExampleTest) ... skipped 'not a  C++11 build'
      25: test_scheduled_send_03 (__main__.ContainerExampleTest) ... ok
      25: test_simple_recv_direct_send (__main__.ContainerExampleTest) ... ok
      25: test_simple_recv_send (__main__.ContainerExampleTest) ... ok
      25: test_simple_send_direct_recv (__main__.ContainerExampleTest) ... ok
      25: test_simple_send_recv (__main__.ContainerExampleTest) ... ok
      25: 
      25: ----------------------------------------------------------------------
      25: Ran 15 tests in 0.366s
      25: 
      25: OK (skipped=3)
      1/2 Test #25: cpp-example-container ............   Passed    0.42 sec
      

      Attachments

        Activity

          People

            aconway Alan Conway
            jross Justin Ross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: