1. 24 Mar, 2019 1 commit
  2. 23 Mar, 2019 1 commit
  3. 22 Mar, 2019 1 commit
  4. 27 May, 2018 1 commit
  5. 02 Feb, 2018 1 commit
  6. 01 May, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: tests bind to hardcoded TCP ports · 5934919f
      Luca Boccassi authored
      Solution: use ZMQ_LAST_ENDPOINT in most places. This alllows running
      tests in paralle, and on over-booked shared machines where many of
      the ports would be already in use.
      Keep 3 tests with an hardcoded port, as there are some code paths that
      require it (eg: connect before bind), but list those ports in
      tests/testutil.hpp as macros so that they do not overlap and still
      allow parallel runs.
      
      These changes were inspired by a patch uploaded to Ubuntu by the
      package maintainer, Steve Langasek <steve.langasek@ubuntu.com>.
      Thank you Steve!
      5934919f
  7. 13 Feb, 2016 3 commits
  8. 06 Feb, 2016 1 commit
    • Pieter Hintjens's avatar
      Problem: test case is using internal API · c8318912
      Pieter Hintjens authored
      It is poor style for test cases to use the internal API (i.e.
      libzmq classes or header files), as this code serves the purpose
      of teaching developers how to use the library (it doesn't do this
      very well, it's an ambition).
      
      Also, including headers in src/ creates problems when compiling.
      
      Solution: remove use of src/macros.hpp.
      c8318912
  9. 30 Jan, 2016 1 commit
    • Jean-Christophe Fillion-Robin's avatar
      Style: Fix unused parameter compilation warnings · f329252d
      Jean-Christophe Fillion-Robin authored
      This commit addresses the following warnings reported on gcc 5.2.1. In
      the future, this will help reduce the "noise" and help catch warnings
      revealing a serious problem.
      
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      /path/to/libzmq/src/options.cpp:1048:36: warning: unused parameter ‘option_’ [-Wunused-parameter]
       bool zmq::options_t::is_valid (int option_) const
                                          ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
               const unsigned char *cmd_data, size_t data_size)
                                    ^
      
      /path/to/libzmq/src/socket_base.cpp:1445:44: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xjoin (const char *group_)
                                                  ^
      /path/to/libzmq/src/socket_base.cpp:1451:45: warning: unused parameter ‘group_’ [-Wunused-parameter]
       int zmq::socket_base_t::xleave (const char *group_)
                                                   ^
      
      /path/to/libzmq/src/radio.cpp:145:33: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::radio_t::xrecv (msg_t *msg_)
                                       ^
      /path/to/libzmq/src/dish.cpp:164:32: warning: unused parameter ‘msg_’ [-Wunused-parameter]
       int zmq::dish_t::xsend (msg_t *msg_)
                                      ^
      
      /path/to/libzmq/tests/test_msg_ffn.cpp:32:16: warning: unused parameter ‘data’ [-Wunused-parameter]
       void ffn(void *data, void *hint) {
                      ^
      
      /path/to/libzmq/tests/test_timers.cpp:50:19: warning: unused parameter ‘timer_id’ [-Wunused-parameter]
       void handler (int timer_id, void* arg)
                         ^
      8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
      f329252d
  10. 28 Jan, 2016 1 commit
  11. 10 Jun, 2015 2 commits
  12. 08 Jun, 2015 1 commit