1. 16 Mar, 2018 1 commit
  2. 02 Feb, 2018 1 commit
  3. 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
  4. 13 Feb, 2016 1 commit
    • Luca Boccassi's avatar
      Problem: various tests fail in slow environments · cb412018
      Luca Boccassi authored
      Solution: add msleep (SETTLE_TIME) to test_immediate, test_spec_rep
      and test_spec_router after the sockets are created and connected to
      avoid failing when running in slower environment like through
      Valgrind in underpowered VMs.
      cb412018
  5. 28 Jan, 2016 1 commit
  6. 02 Jun, 2015 1 commit
  7. 30 Jan, 2015 1 commit
  8. 22 Jan, 2015 1 commit
  9. 02 Jan, 2014 1 commit
  10. 20 Dec, 2013 1 commit
  11. 06 Nov, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed over-long pauses in tests · 5b60540e
      Pieter Hintjens authored
      - used msleep (10) in most places instead of zmq_sleep (1)
      - may cause failures on slower machines
      - to change, modify SETTLE_TIME in testutil.h
      - tested down to 1 msec on fast boxes
      5b60540e
  12. 20 Sep, 2013 1 commit
  13. 18 Sep, 2013 1 commit
  14. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  15. 17 Aug, 2013 1 commit
  16. 21 May, 2013 1 commit
  17. 12 Mar, 2013 1 commit
  18. 31 Jan, 2013 1 commit
    • Pieter Hintjens's avatar
      Lots of cleanups to self-tests · 963c6a8e
      Pieter Hintjens authored
      * Removed or truncated sleeps so the tests run faster
      * Removed dependencies on zmq_utils
      * Rewrote a few tests that were confusing
      * Minor code cleanups
      963c6a8e
  19. 30 Jan, 2013 1 commit
  20. 17 Jan, 2013 1 commit
  21. 08 Jan, 2013 3 commits
  22. 30 Nov, 2012 1 commit
    • Ian Barber's avatar
      Serialise test_connect_delay · 75161b5c
      Ian Barber authored
      Simplify the test connect delay test script, removing the threads and
      moving to a serialised version. AFAICS this should provide the same
      test, but without the race conditions that happened with the previous
      test.
      75161b5c
  23. 25 Oct, 2012 1 commit
  24. 18 Sep, 2012 1 commit
  25. 06 Sep, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Add "#undef NDEBUG" to all tests. · cf20932d
      Arthur O'Dwyer authored
      This change makes sure that even if the tests are built in a
      "release" configuration (with optimizations and NDEBUG turned on),
      the assertions won't get compiled out of the tests themselves.
      
      The C standard guarantees that the most recent inclusion of
      <assert.h> is the one that counts, so it's important that the
      "#undef NDEBUG/#include <assert.h>" come as the last thing in
      the block of header files.
      
      "testutil.hpp" includes <assert.h>, so I've left <assert.h> out
      of any test that #includes "testutil.hpp", just for the sake of
      brevity.
      cf20932d
  26. 04 Sep, 2012 1 commit
    • Ian Barber's avatar
      Fixing PGM issues · d7331b7b
      Ian Barber authored
      Hopefully fixed LIBZMQ-427 - there was a slight typo in the init_address
      refactor. The encoder refactoring had also broken pgm_sender and
      receiver, but just required updating to use the new functions.
      d7331b7b
  27. 27 Aug, 2012 1 commit
  28. 13 Jun, 2012 2 commits
  29. 12 Jun, 2012 9 commits