History log of /libevent-2.1.12/test/tinytest.c (Results 1 – 25 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release-2.2.1-alpha, release-2.1.12-stable
# 19a68bd1 25-Jun-2020 Azat Khuzhin <[email protected]>

test: detect test failures if atexit handler calls _exit(!0) (sanitizers)

tinytest uses another way of detecting test failures, it uses pipe
between child and parent, and if the test function in chi

test: detect test failures if atexit handler calls _exit(!0) (sanitizers)

tinytest uses another way of detecting test failures, it uses pipe
between child and parent, and if the test function in child returns OK
it writes OK flag into pipe, and reads it in parent.

However sanitizers uses atexit handlers to detect leaks, and this will
not detect failures in case of exit() will be called from the atexit
handlers, fix this by checking status after waitpid().

(cherry picked from commit 6754740f15e8200a12605a2e707fc6d3e6754d6a)

show more ...


# 794e8f75 26-Sep-2019 yuangongji <[email protected]>

tinytest: support timeout on Windows

(cherry picked from commit 8d5c5650d281019832fa7b5133b85c7ad29f664e)


Revision tags: release-2.1.11-stable, release-2.1.10-stable
# 75d7e1ff 24-Mar-2019 Azat Khuzhin <[email protected]>

tinytest: fix parsing --timeout argument

Fixes: 15b2f41d ("tinytest: implement per-test timeout (via alarm() under !win32 only)")
(cherry picked from commit 8a674243b444da9e0742ac837334aaf38e6a703a)


# b64dbfb6 24-Mar-2019 Azat Khuzhin <[email protected]>

tinytest: implement per-test timeout (via alarm() under !win32 only)

(cherry picked from commit 15b2f41d748643393b9f95b790d32e6bbbf38062)


Revision tags: release-2.1.9-beta, release-2.0.23-beta
# 6ea1ec68 20-Nov-2018 Azat Khuzhin <[email protected]>

Merge branch 'TT_RETRIABLE'

* TT_RETRIABLE:
Mark a lot of flacky tests with TT_RETRIABLE (for linux/win32 only)
regress: introduce TT_RETRIABLE

Fixes: #704
(cherry picked from commit 4d2f013b5d

Merge branch 'TT_RETRIABLE'

* TT_RETRIABLE:
Mark a lot of flacky tests with TT_RETRIABLE (for linux/win32 only)
regress: introduce TT_RETRIABLE

Fixes: #704
(cherry picked from commit 4d2f013b5d20e674b22e5a8244f7fa63172dbdbf)

show more ...


Revision tags: release-2.1.8-stable, release-2.1.7-rc, release-2.1.6-beta, release-2.0.22-stable, release-1.4.15-stable, release-2.1.5-beta, release-2.1.4-alpha
# 7a804767 06-Mar-2014 Nick Mathewson <[email protected]>

Update to the latest version of tinytest

This brings us up to tinytest 709a36ba63ff16d8


Revision tags: release-2.1.3-alpha, release-2.1.2-alpha, release-2.0.21-stable, release-2.0.20-stable
# ef7c4f79 28-Jun-2012 Nick Mathewson <[email protected]>

Update to latest tinytest (911b4f0349377)


Revision tags: release-2.0.19-stable
# b3887cdf 12-Apr-2012 Nick Mathewson <[email protected]>

Work-around a stupid gcov-breaking bug in OSX 10.6

This only affects the unit tests.

Fix found at http://rachelbythebay.com/w/2011/07/12/forkcrash/

(Backport from 2.1)


# b62b31f1 12-Apr-2012 Nick Mathewson <[email protected]>

Work-around a stupid gcov-breaking bug in OSX 10.6

This only affects the unit tests.

Fix found at http://rachelbythebay.com/w/2011/07/12/forkcrash/


Revision tags: release-2.1.1-alpha, release-2.0.18-stable
# 6c81be74 13-Feb-2012 Nick Mathewson <[email protected]>

Synchronize with upstream tinytest


Revision tags: release-2.0.17-stable
# e49e2891 10-Feb-2012 Nick Mathewson <[email protected]>

Update copyright notices to 2012


# 95e2455c 24-Jan-2012 Nick Mathewson <[email protected]>

When including an -internal.h header outside the main tree, do so early

Some of our unit tests and sample code need functions and structures
defined in an -internal.h header. But that can freak out

When including an -internal.h header outside the main tree, do so early

Some of our unit tests and sample code need functions and structures
defined in an -internal.h header. But that can freak out OpenSolaris,
where stdio.h wants to define _FILE_OFFSET_BITS unless it's already
defined, and then evconfig-internal.h defines it. Regular users
should never ever use our -internal.h headers, so the solution is
to make sure that if we're going to use them ourselves, we do so
before system headers.

show more ...


Revision tags: release-2.0.16-stable
# 3c824bd3 24-Oct-2011 Nick Mathewson <[email protected]>

Update copyright dates to 2011.


Revision tags: release-2.0.15-stable, release-2.0.14-stable, release-2.0.13-stable
# 812d42e8 11-Jun-2011 Nick Mathewson <[email protected]>

Simplify windows commandname logic in tinytest

Instead of using a dup'd pointer, let's use a static array, so we
don't need to free it. This patch also makes tinytest build on
non-windows again.


# 57def346 11-Jun-2011 Ed Day <[email protected]>

Fix tinytest invocation from windows shell

Original post:

This post is in response to a posting last December on a Windows
regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable

Fix tinytest invocation from windows shell

Original post:

This post is in response to a posting last December on a Windows
regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable
is released by Dongsheng Song). I noticed the question was not
answered and I recently experienced the same error myself when
trying to run the Windows regression tests myself.

I checked the return status from the CreateProcess call and found it
was "file not found". This led me to look at the command-line I was
using which was .\regress in a Visual Studio 2008 command prompt
window. Windows could not find the file because it did not have the
.exe extension on the end. The code that builds the command should
be modified to ensure the extension is present.

show more ...


Revision tags: release-2.0.12-stable
# 9f560bfa 25-May-2011 Nick Mathewson <[email protected]>

Use "_WIN32", not WIN32: it's standard and we don't need to fake it

This patch was automatically generated with perl.

Based on a patch by Peter Rosin.


Revision tags: release-2.0.11-stable, release-2.0.10-stable, release-2.0.9-rc
# 7bcace2d 23-Nov-2010 Nick Mathewson <[email protected]>

Fix some irix compilation warnings spotted by Kevin Bowling


Revision tags: release-2.0.8-rc
# 4ebf9509 14-Oct-2010 Nick Mathewson <[email protected]>

Fixes for MSVC compilation


# f0bd83ea 09-Sep-2010 Nick Mathewson <[email protected]>

Bump to the latest version of tinytest

This lets us do without libevent-specific code in tinytest.c, and
lets us add a feature to skip individual tests from the command
line.


Revision tags: release-2.0.7-rc, release-2.0.6-rc, release-1.4.14b-stable, release-1.4.14-stable, release-2.0.5-beta
# 17efc1cd 04-Mar-2010 Nick Mathewson <[email protected]>

Update all our copyright notices to say "2010"


Revision tags: release-2.0.4-alpha
# e5bbd40a 18-Feb-2010 Nick Mathewson <[email protected]>

Clean up formatting: use tabs, not 8-spaces, to indent.


# a7a94310 04-Feb-2010 Nick Mathewson <[email protected]>

Fix some additional -DUNICODE issues on win32.

Brodie's patch didn't catch the ones that were new since 1.4.


Revision tags: release-2.0.3-alpha, release-1.4.13-stable
# 5b5b880b 28-Jul-2009 Nick Mathewson <[email protected]>

Various MSVC cleanups from Brodie Thiesfield.

svn:r1385


Revision tags: release-2.0.2-alpha@1379, release-1.4.12-stable
# 61f2a45d 17-Jul-2009 Nick Mathewson <[email protected]>

Add a tinytest flag to initialize threading.

svn:r1357


# 043515bc 14-Jul-2009 Nick Mathewson <[email protected]>

Stop using C++ style comments.

svn:r1343


12