|
Revision tags: release-2.2.1-alpha, release-2.1.12-stable, release-2.1.11-stable, release-2.1.10-stable, release-2.1.9-beta, release-2.0.23-beta |
|
| #
532a8cc3 |
| 14-Sep-2017 |
Kiyoshi Aman <[email protected]> |
Port `event_rpcgen.py` and `test/check-dumpevents.py` to Python 3.
These scripts remain compatible with Python 2.
(cherry picked from commit 8b0aa7b36a3250fad4953f194c8a94ab25032583)
|
|
Revision tags: release-2.1.8-stable |
|
| #
54d7473f |
| 20-Jan-2017 |
Azat Khuzhin <[email protected]> |
test: run different tests under different options (in a wrapper)
|
|
Revision tags: release-2.1.7-rc, release-2.1.6-beta |
|
| #
cf2cf2a0 |
| 02-Sep-2015 |
Azat Khuzhin <[email protected]> |
test: run regress with EVENT_DEBUG_MODE=1 and without
This could show some bugs like "event_assign called on an already added event", and some others that debugging mode could track.
|
|
Revision tags: release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta, release-2.1.4-alpha |
|
| #
b1b69ac7 |
| 18-Jan-2014 |
Diego Giagio <[email protected]> |
Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
- Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Doe
Implemented EV_CLOSED event for epoll backend (EPOLLRDHUP).
- Added new EV_CLOSED event - detects premature connection close by clients without the necessity of reading all the pending data. Does not depend on EV_READ and/or EV_WRITE.
- Added new EV_FEATURE_EARLY_CLOSED feature for epoll. Must be supported for listening to EV_CLOSED event.
- Added new regression test: test-closed.c
- All regression tests passed (test/regress and test/test.sh)
- strace output of test-closed using EV_CLOSED: socketpair(PF_LOCAL, SOCK_STREAM, 0, [6, 7]) = 0 sendto(6, "test string\0", 12, 0, NULL, 0) = 12 shutdown(6, SHUT_WR) = 0 epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 epoll_wait(3, {{EPOLLRDHUP, {u32=7, u64=7}}}, 32, 3000) = 1 epoll_ctl(3, EPOLL_CTL_MOD, 7, {EPOLLRDHUP, {u32=7, u64=7}}) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYM... write(1, "closed_cb: detected connection close "..., 45) = 45
show more ...
|
|
Revision tags: release-2.1.3-alpha |
|
| #
9e3a99ca |
| 01-May-2013 |
Nick Mathewson <[email protected]> |
Fix a bug in fixing a bug in out-of-tree test-dumpevents
|
| #
cbfc35f6 |
| 30-Apr-2013 |
Nick Mathewson <[email protected]> |
Fix some out-of-tree build bugs
|
|
Revision tags: release-2.1.2-alpha |
|
| #
c1420690 |
| 19-Nov-2012 |
Nick Mathewson <[email protected]> |
Fix a bug when running "make verify" out-of-tree
|
|
Revision tags: release-2.0.21-stable |
|
| #
4b5f32a5 |
| 23-Oct-2012 |
Ross Lagerwall <[email protected]> |
Use python2 rather than python
python may refer to either python2 or python3 so rather by explicit by using python2. See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more details.
|
|
Revision tags: release-2.0.20-stable |
|
| #
f1bd9388 |
| 02-Aug-2012 |
Nick Mathewson <[email protected]> |
Avoid test -e; older shs don't have one.
Reported by Paul Croome.
Report forwarded by Dave Hart.
|
| #
f2cea873 |
| 28-Jun-2012 |
Nick Mathewson <[email protected]> |
Make all tests that hit the network disabled by default
To run only these tests, run test/regress with @live_net. To run all tests, run test/regress with @all.
|
|
Revision tags: release-2.0.19-stable |
|
| #
26c75828 |
| 26-Apr-2012 |
Nick Mathewson <[email protected]> |
When PRECISE_TIMERS is set with epoll, use timerfd for microsecond precision
The epoll interface ordinarily gives us one-millisecond precision, so on Linux it makes perfect sense to use the CLOCK_MO
When PRECISE_TIMERS is set with epoll, use timerfd for microsecond precision
The epoll interface ordinarily gives us one-millisecond precision, so on Linux it makes perfect sense to use the CLOCK_MONOTONIC_COARSE timer. But when the user has set the new PRECISE_TIMER flag for an event_base (either by the EVENT_BASE_FLAG_PRECISE_TIMER flag, or by the EVENT_PRECISE_TIMER environment variable), they presumably want finer granularity.
On not-too-old Linuxes, we can achieve this using the Timerfd mechanism, which accepts nanosecond granularity and understands posix clocks. It's a little more expensive than just calling epoll_wait(), so we won't do it by default.
show more ...
|
| #
9b856fd5 |
| 07-Apr-2012 |
Ross Lagerwall <[email protected]> |
Simplify test.sh code significantly.
Also make it easier to add new tests/backends.
|
|
Revision tags: release-2.1.1-alpha |
|
| #
55e8dc1b |
| 03-Apr-2012 |
Nick Mathewson <[email protected]> |
Make check-dumpevents work with out-of-tree builds
|
| #
029a3db3 |
| 26-Mar-2012 |
Ross Lagerwall <[email protected]> |
Require at least Python 2.4 for check-dumpevents.py.
|
| #
7afe48aa |
| 23-Mar-2012 |
Nick Mathewson <[email protected]> |
Add a unit test for event_base_dump_events()
This function uses a C program to generate its output, and then uses a Python program to check it for correctness. On systems without Python, we just ma
Add a unit test for event_base_dump_events()
This function uses a C program to generate its output, and then uses a Python program to check it for correctness. On systems without Python, we just make sure that the C program doesn't crash.
It's likely that we should be requiring some particular python version. This is an alpha, though: I'm sure somebody will tell us which.
show more ...
|
|
Revision tags: release-2.0.18-stable |
|
| #
2ef92786 |
| 23-Feb-2012 |
Ross Lagerwall <[email protected]> |
Add a new test: test-fdleak which tests for fd leaks by creating many sockets.
This test opens a server socket, and forks a child which connects to that server socket many times. It sets a low numbe
Add a new test: test-fdleak which tests for fd leaks by creating many sockets.
This test opens a server socket, and forks a child which connects to that server socket many times. It sets a low number for the max open file limit to catch any file descriptor leaks. It would not work on Windows since it uses fork() to be able to create both the server and the clients.
show more ...
|
|
Revision tags: release-2.0.17-stable, release-2.0.16-stable, release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable |
|
| #
16bacbc5 |
| 05-Jul-2011 |
Nick Mathewson <[email protected]> |
Fix a test-call accidentally in the last commit
|
| #
cd74c4ec |
| 05-Jul-2011 |
Nick Mathewson <[email protected]> |
More abstraction in test.sh
|
|
Revision tags: release-2.0.12-stable, release-2.0.11-stable |
|
| #
039b9bd0 |
| 22-Feb-2011 |
Nick Mathewson <[email protected]> |
Use %s with printf in test.sh
|
| #
49e9bb7f |
| 13-Feb-2011 |
Dave Hart <[email protected]> |
Add configure options to disable installation, regression tests
The main reason for disabling installation is if you're building libevent as a subpackage for embedding: you want to have your main pa
Add configure options to disable installation, regression tests
The main reason for disabling installation is if you're building libevent as a subpackage for embedding: you want to have your main package's "make all" build libevent, but you don't want your main package's "make install" to install libevent.
show more ...
|
| #
b4f89b60 |
| 01-Feb-2011 |
Dave Hart <[email protected]> |
Fix test.sh output on solaris
Solaris echo -n doesn't omit newlines, but printf omits newlines in more places.
|
|
Revision tags: release-2.0.10-stable, release-2.0.9-rc |
|
| #
ece974fb |
| 22-Nov-2010 |
Nick Mathewson <[email protected]> |
Reorder backends in test.sh to match preference order in event.c
|
| #
aed7e029 |
| 22-Nov-2010 |
Nick Mathewson <[email protected]> |
Make unit tests for epoll-with-changelist pass
The only changes needed were to handle the fact that the methodname "epoll (with changelist)" matches the environment variable EVENT_NOEPOLL rather tha
Make unit tests for epoll-with-changelist pass
The only changes needed were to handle the fact that the methodname "epoll (with changelist)" matches the environment variable EVENT_NOEPOLL rather than the imaginary "EVENT_EPOLL (WITH CHANGELIST)".
show more ...
|
|
Revision tags: release-2.0.8-rc, release-2.0.7-rc, release-2.0.6-rc |
|
| #
7c926916 |
| 19-Jul-2010 |
Nick Mathewson <[email protected]> |
Make test/test.sh call test-changelist
Eventually test-changelist should expand to try more cases, maybe query the status of the actual changelist somehow, and integrate it with the rest of the unit
Make test/test.sh call test-changelist
Eventually test-changelist should expand to try more cases, maybe query the status of the actual changelist somehow, and integrate it with the rest of the unit tests.
Also, add test-changelist to gitignore.
show more ...
|
|
Revision tags: release-1.4.14b-stable, release-1.4.14-stable |
|
| #
3689bd2d |
| 26-May-2010 |
Nick Mathewson <[email protected]> |
Have the unit tests report errors from test.sh
The default behavior of test.sh was to suppress all output from test/regress, and say nothing but OKAY or FAILED. This wasn't so good for getting bugs
Have the unit tests report errors from test.sh
The default behavior of test.sh was to suppress all output from test/regress, and say nothing but OKAY or FAILED. This wasn't so good for getting bugs reported, since lots of people didn't know to set TEST_OUTPUT_FILE, or re-run ./test/regress on its own.
Now, when you don't specify an output file for test.sh, it runs regress with the --quiet option. This option makes the unit tests only print output on failure, which is what we probably wanted.
show more ...
|