mirror_frr/tests/lib
David Lamparter e14c94f2b7 tests: fix TSAN warnings in atomlist test
The atomlist test consists of a sequence of (MT) sub-tests, from which
counters are collected and verified.  TSAN doesn't know that these
counters are synchronized by way of the sub-test starting and finishing,
so it complains.  Just use atomics to get rid of the warning.

(This is solely an issue with the test, not the atomlist code.  There
are no warnings from that.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-06-20 15:44:46 +02:00
..
cli *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
northbound tests: add test for NB RPC callback 2024-04-22 16:36:22 +03:00
cxxcompat.c lib: Remove getopt.c and getopt1.c 2023-03-28 10:07:38 -04:00
fuzz_zlog_inputs.py *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
fuzz_zlog.c *: Convert thread_master_XXX functions to event_master_XXX 2023-03-24 08:32:17 -04:00
script1.lua tests: Add more examples to get_result 2021-07-18 06:32:03 +08:00
subdir.am tests: embed YANG in mgmtd unit-test bin 2024-05-17 00:54:20 -04:00
test_assert.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_assert.py lib: rework how we "override" assert() 2021-05-02 16:27:17 +02:00
test_atomlist.c tests: fix TSAN warnings in atomlist test 2024-06-20 15:44:46 +02:00
test_atomlist.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_buffer.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_checksum.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_darr.c lib: darr: add free with element cleanup functions 2024-06-06 22:38:48 -04:00
test_darr.py lib: darr: add new access and str functions 2023-12-28 17:52:57 +00:00
test_frrlua.c lib: Create encoders for int and rename stuff 2023-11-20 20:45:02 -05:00
test_frrlua.py tests: put lua scripting unit tests behind flag 2021-06-25 17:29:15 +08:00
test_frrscript.c lib: Update int and ll decoders with new MTYPE 2023-11-20 20:45:02 -05:00
test_frrscript.py tests: put lua scripting unit tests behind flag 2021-06-25 17:29:15 +08:00
test_graph.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_graph.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_graph.refout lib: add DFS + DOT dumping to graph datastructure 2018-04-19 13:04:58 -04:00
test_grpc.cpp staticd: fix NB dependency hack 2024-02-02 00:57:59 +02:00
test_grpc.py tests: skip grpc test if frr not installed 2022-03-29 16:16:35 -04:00
test_heavy_thread.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_heavy_wq.c lib: Remove unused WQ_RETRY_XXX enums 2023-11-03 18:06:01 +00:00
test_heavy.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_idalloc.c *: config.h or zebra.h is the first #include 2019-06-13 13:35:33 +02:00
test_idalloc.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_memory.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_nexthop_iter.c tests: fix strncpy warning 2023-07-24 19:03:24 -04:00
test_nexthop_iter.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_nexthop.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_nexthop.py tests: add unit test for nexthop comparisons 2021-05-04 15:51:01 -04:00
test_ntop.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_ntop.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_plist.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_prefix2str.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_prefix2str.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_printfrr.c tests: Extend prefix_sg print UT for IPv6 2024-05-31 10:27:22 -04:00
test_printfrr.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_privs.c *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
test_resolver.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_ringbuf.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_ringbuf.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_segv.c * : include event ptr in event_execute api 2023-07-25 10:17:48 -04:00
test_seqlock.c tests: silence TSAN warning on test_seqlock exit 2024-06-20 11:16:10 +02:00
test_sig.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_skiplist.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_srcdest_table.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_srcdest_table.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_stream.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_stream.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_stream.refout tests: reorganize tests hierarchically 2017-02-13 16:54:48 +01:00
test_table.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_table.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_timer_correctness.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_timer_correctness.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_timer_performance.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
test_ttable.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_ttable.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_ttable.refout lib: add table generator 2017-06-16 02:02:42 +00:00
test_typelist.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_typelist.h lib: fix _hash_member() crash w/ empty hash 2023-04-21 16:30:32 +02:00
test_typelist.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_versioncmp.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_versioncmp.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_xref.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_xref.py tests: add unit test for xrefs 2021-02-01 17:28:11 +01:00
test_zlog.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
test_zlog.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_zmq.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
test_zmq.py *: reformat python files 2020-10-07 17:22:26 -04:00
test_zmq.refout lib: Address ZMQ lib TODOs 2017-11-23 12:50:27 +01:00