<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libatomic_ops.git/tests/test_malloc.c, branch draft-coveralls-linux</title>
<subtitle>github.com: ivmai/libatomic_ops.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/'/>
<entry>
<title>Do not define print_list() unless used (tests)</title>
<updated>2016-11-14T20:09:57+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2016-11-14T20:09:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=239ea5f3e998ef4aca873aba5ac6668eaa252b35'/>
<id>239ea5f3e998ef4aca873aba5ac6668eaa252b35</id>
<content type='text'>
* tests/test_malloc.c (print_list): Define only if DEBUG_RUN_ONE_TEST.
* tests/test_stack.c (print_list): Define only if VERBOSE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test_malloc.c (print_list): Define only if DEBUG_RUN_ONE_TEST.
* tests/test_stack.c (print_list): Define only if VERBOSE.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform only few list reversals in test_malloc if AO based on pthreads</title>
<updated>2012-10-05T07:57:38+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2012-10-05T07:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=21d9bf203448221c11c7aa1c0e556161e34012eb'/>
<id>21d9bf203448221c11c7aa1c0e556161e34012eb</id>
<content type='text'>
* tests/test_malloc.c (N_REVERSALS): Set to 4 (instead of 1000) if
AO_USE_PTHREAD_DEFS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test_malloc.c (N_REVERSALS): Set to 4 (instead of 1000) if
AO_USE_PTHREAD_DEFS.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Log messages to stdout instead of stderr</title>
<updated>2012-09-18T11:21:16+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2012-09-18T11:21:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=015ad3f9f7664390800f24a293c7ab673a872dfb'/>
<id>015ad3f9f7664390800f24a293c7ab673a872dfb</id>
<content type='text'>
* tests/run_parallel.h (run_parallel): Print logging (non-error)
messages using printf() instead of fprintf(stderr).
* tests/test_atomic_include.template (MISSING): Likewise.
* tests/test_malloc.c (print_list): Likewise.
* tests/run_parallel.h (run_parallel): Reformat code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/run_parallel.h (run_parallel): Print logging (non-error)
messages using printf() instead of fprintf(stderr).
* tests/test_atomic_include.template (MISSING): Likewise.
* tests/test_malloc.c (print_list): Likewise.
* tests/run_parallel.h (run_parallel): Reformat code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Terminate tests with abort after error reported</title>
<updated>2012-09-18T10:54:48+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2012-09-18T10:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=ebaf32fcb8ebb922bcc4e28ad49fabe3de126e9e'/>
<id>ebaf32fcb8ebb922bcc4e28ad49fabe3de126e9e</id>
<content type='text'>
* tests/test_atomic.c (acqrel_thr): Call abort() after fprintf(stderr).
* tests/test_malloc.c (run_one_test): Likewise.
* tests/test_stack.c (check_list, main): Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test_atomic.c (acqrel_thr): Call abort() after fprintf(stderr).
* tests/test_malloc.c (run_one_test): Likewise.
* tests/test_stack.c (check_list, main): Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move names of committers from source files to AUTHORS list</title>
<updated>2011-10-15T11:17:58+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-10-15T11:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=88560d6e08a4c6d9ed2faf24fd95b28a8aad1658'/>
<id>88560d6e08a4c6d9ed2faf24fd95b28a8aad1658</id>
<content type='text'>
* src/atomic_ops/sysdeps/gcc/hppa.h (header comment): Move
"modified-by" information to AUTHORS file.
* src/atomic_ops/sysdeps/gcc/m68k.h (header comment): Likewise.
* src/atomic_ops/sysdeps/gcc/powerpc.h (header comment): Likewise.
* src/atomic_ops_malloc.c (header comment): Likewise.
* src/atomic_ops_stack.c (header comment): Likewise.
* tests/test_atomic.c (header comment): Likewise.
* tests/test_malloc.c (header comment): Likewise.
* tests/test_stack.c (header comment): Likewise.
* AUTHORS: Add more entries.
* src/atomic_ops/sysdeps/standard_ao_double_t.h: Add copyright header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/atomic_ops/sysdeps/gcc/hppa.h (header comment): Move
"modified-by" information to AUTHORS file.
* src/atomic_ops/sysdeps/gcc/m68k.h (header comment): Likewise.
* src/atomic_ops/sysdeps/gcc/powerpc.h (header comment): Likewise.
* src/atomic_ops_malloc.c (header comment): Likewise.
* src/atomic_ops_stack.c (header comment): Likewise.
* tests/test_atomic.c (header comment): Likewise.
* tests/test_malloc.c (header comment): Likewise.
* tests/test_stack.c (header comment): Likewise.
* AUTHORS: Add more entries.
* src/atomic_ops/sysdeps/standard_ao_double_t.h: Add copyright header.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_malloc - allocate less memory in case of missing mmap()</title>
<updated>2011-09-21T08:50:06+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-09-21T08:50:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=f2b8965b1e62925b3e6fb3d8015e6b8bb54ae1e2'/>
<id>f2b8965b1e62925b3e6fb3d8015e6b8bb54ae1e2</id>
<content type='text'>
* tests/test_malloc.c (LIST_LENGTH, LARGE_OBJ_SIZE): Define to
a smaller value unless HAVE_MMAP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test_malloc.c (LIST_LENGTH, LARGE_OBJ_SIZE): Define to
a smaller value unless HAVE_MMAP.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Invoke exit() instead of abort() in case of out of memory</title>
<updated>2011-09-21T08:46:39+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-09-21T08:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=565d6fd90cceba30cb9bbfff3a1c2a74a67e5f0f'/>
<id>565d6fd90cceba30cb9bbfff3a1c2a74a67e5f0f</id>
<content type='text'>
* tests/test_malloc.c (cons, run_one_test): Call exit with a non-zero
code (instead of abort) if out of memory.
* tests/test_stack.c (add_elements): Likewise.
* tests/test_stack.c (main): Use a distinct exit code if a thread
creation failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/test_malloc.c (cons, run_one_test): Call exit with a non-zero
code (instead of abort) if out of memory.
* tests/test_stack.c (add_elements): Likewise.
* tests/test_stack.c (main): Use a distinct exit code if a thread
creation failed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename run_parallel.inc to run_parallel.h;</title>
<updated>2011-08-09T11:35:25+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-08-09T11:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=da81cba30247749a6a29a296335b89049df54716'/>
<id>da81cba30247749a6a29a296335b89049df54716</id>
<content type='text'>
rename test_atomic.template to test_atomic_include.template.

* tests/Makefile.am(EXTRA_DIST): Adjust for run_parallel.h and
test_atomic_include.template files.
* tests/run_parallel.inc: Rename to tests/run_parallel.h.
* test_atomic.template: Rename to test_atomic_include.template.
* test_atomic.c, test_malloc.c: Adjust included file name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rename test_atomic.template to test_atomic_include.template.

* tests/Makefile.am(EXTRA_DIST): Adjust for run_parallel.h and
test_atomic_include.template files.
* tests/run_parallel.inc: Rename to tests/run_parallel.h.
* test_atomic.template: Rename to test_atomic_include.template.
* test_atomic.c, test_malloc.c: Adjust included file name.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate doc/COPYING and empty NEWS files.</title>
<updated>2011-08-09T11:12:30+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-08-09T11:12:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=7bd1fd6745439710b641660cb7687459ff09ef72'/>
<id>7bd1fd6745439710b641660cb7687459ff09ef72</id>
<content type='text'>
* NEWS, doc/COPYING: Remove.
* doc/Makefile.am (dist_pkgdata_DATA): Remove "COPYING".
* src/atomic_ops_malloc.c, src/atomic_ops_stack.c,
tests/list_atomic.template, tests/run_parallel.inc,
tests/test_atomic.template, tests/test_atomic.c, tests/test_malloc.c,
tests/test_stack.c: Adjust "COPYING" filename in comments.
* tests/list_atomic.c, tests/test_atomic_include.h: Regenerate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* NEWS, doc/COPYING: Remove.
* doc/Makefile.am (dist_pkgdata_DATA): Remove "COPYING".
* src/atomic_ops_malloc.c, src/atomic_ops_stack.c,
tests/list_atomic.template, tests/run_parallel.inc,
tests/test_atomic.template, tests/test_atomic.c, tests/test_malloc.c,
tests/test_stack.c: Adjust "COPYING" filename in comments.
* tests/list_atomic.c, tests/test_atomic_include.h: Regenerate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler extra warnings.</title>
<updated>2011-08-04T18:49:51+00:00</updated>
<author>
<name>Ivan Maidanski</name>
<email>ivmai@mail.ru</email>
</author>
<published>2011-08-04T18:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libatomic_ops.git/commit/?id=9b32643f567b6d65fff59c60fae7346374ef7970'/>
<id>9b32643f567b6d65fff59c60fae7346374ef7970</id>
<content type='text'>
* src/atomic_ops_stack.c (AO_stack_pop_explicit_aux_acquire): Remove
non-negative-value test for an unsigned value.
* src/atomic_ops_stack.h (AO_STACK_INITIALIZER): Add {} to match type
definition.
* tests/test_atomic.c (acqrel_thr): Fix code indentation.
* tests/test_atomic.c (test_and_set_thr): Print thread Id in case of error.
* tests/test_malloc.c (cons): Declare "i" local variable as unsigned (as it
is compared to another unsigned value).
* tests/test_malloc.c (check_list): Test upper bound as well, abort with the
appropriate message in case of mismatch.
* tests/test_malloc.c (run_one_test): Return "arg" parameter (to suppress
"unused parameter" compiler warning).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/atomic_ops_stack.c (AO_stack_pop_explicit_aux_acquire): Remove
non-negative-value test for an unsigned value.
* src/atomic_ops_stack.h (AO_STACK_INITIALIZER): Add {} to match type
definition.
* tests/test_atomic.c (acqrel_thr): Fix code indentation.
* tests/test_atomic.c (test_and_set_thr): Print thread Id in case of error.
* tests/test_malloc.c (cons): Declare "i" local variable as unsigned (as it
is compared to another unsigned value).
* tests/test_malloc.c (check_list): Test upper bound as well, abort with the
appropriate message in case of mismatch.
* tests/test_malloc.c (run_one_test): Return "arg" parameter (to suppress
"unused parameter" compiler warning).
</pre>
</div>
</content>
</entry>
</feed>
