Patrick Pelissier
37b2f4d2ac
Update test suite to properly allocation & deallocation
2025-05-07 21:02:23 +02:00
Patrick Pelissier
6d621703eb
Copyright go to 2025 year
2025-03-01 11:03:38 +01:00
Patrick Pelissier
52b58c5a51
Happy new year 2024
2024-01-19 21:37:47 +01:00
Patrick Pelissier
352d7cf725
Improve coverage of the test suite
2023-04-05 22:22:49 +02:00
Patrick Pelissier
d02de75487
Add control that all initialized testobj are properly cleared at the end of the test suite
2023-03-12 20:29:58 +01:00
Patrick Pelissier
4140df5bfc
Improve test suite
2023-02-24 19:56:56 +01:00
Patrick Pelissier
91f3174a36
Rename m-mutex header into m-thread
...
as it is not just about mutex but about thread functions
just like the header pthread or thread.h
2023-02-16 00:09:06 +01:00
Patrick Pelissier
a2ae209992
Happy new year
2023-01-02 12:57:41 +01:00
Patrick Pelissier
d1fc216836
Move internal type to internal namespace
2022-03-20 19:02:01 +01:00
Patrick Pelissier
19b01b404d
Migrate to 2022
2022-03-12 20:25:45 +01:00
Patrick Pelissier
c4d339cb62
Rename internal interface.
2021-02-13 11:45:16 +01:00
Patrick Pelissier
25fe26deaa
Happy new year
2021-01-13 20:18:01 +01:00
Patrick Pelissier
8ba489eef3
Add macros
...
SNAPSHOT_SPSC_DEF_AS
SNAPSHOT_SPMC_DEF_AS
SNAPSHOT_MPMC_DEF_AS
2020-10-03 14:07:14 +02:00
Patrick Pelissier
b3a1a75f6f
Rename internal types:
...
a suffix ending with _ct means confidential type
ans is reserved for M*LIB internal usage.
OPLIST doesn't use the external types
but rather the internal types.
It enables to be independent of the real names
of the external types.
Such external names are planned to be fully customizable
(i.e. the user may define a name that suits its coding style)
2020-10-03 14:07:14 +02:00
Patrick Pelissier
966170452f
Improve test representativity by simulating various speeds for readers and writers
2020-07-14 14:43:14 +02:00
Patrick Pelissier
f03a4503eb
Fix some warnings
2020-07-03 22:15:54 +02:00
Patrick Pelissier
4ab3a3605b
Fix -Wsign-conversion warnings in tests.
2020-06-13 19:43:52 +02:00
Patrick Pelissier
4f7b0b9455
Happy new year 2020
2020-01-04 15:41:06 +01:00
Patrick Pelissier
2c921fdefe
Improve test suite of snapshot to detect incorrect issues of INIT/CLEAR call by a container.
2019-07-16 23:00:10 +02:00
Patrick Pelissier
8b3a4a802c
Happy new year!
2019-01-02 18:12:07 +01:00
Patrick Pelissier
522632bea6
Remove deprecated macro SNAPSHOT_DEF.
...
Shall use SNAPSHOT_SPSC_DEF
2018-06-27 20:04:18 +02:00
Patrick Pelissier
e9f603fa30
Rename internal calls to my_mpz* to testobj*
2018-05-08 10:40:29 +02:00
Patrick Pelissier
1a064e033b
Rename mympz.h --> test-obj.h
...
as it is used only for testing purpose.
2018-05-08 10:29:51 +02:00
Patrick Pelissier
40747a463b
Remove dependecies from GMP header, allowing to run the test suite without GMP
2018-04-14 08:16:31 +02:00
Patrick Pelissier
81e3515f40
Add missing tests
2018-03-16 23:06:15 +01:00
Patrick Pelissier
bffec6206b
Remove usage of variable array extension in C tests to avoid warning with C++ compilers.
2018-03-16 23:02:28 +01:00
Patrick Pelissier
f8e75761ef
Change SNAPSHOT_SRSW to SNAPSHOT_SPSC to be uniform with queue definition
...
(Replace Reader / Writer term by Consummer / Producer term)
2018-03-10 17:46:02 +01:00
Patrick Pelissier
b32b93340c
Improve tests & fix bugs.
...
Still one bug remain.
2018-02-18 17:01:41 +01:00
Patrick Pelissier
6de4c4092f
Add MRMW snapshot
2018-02-18 08:27:10 +01:00
Patrick Pelissier
c5de5e07d8
Update comment
2018-02-18 08:00:14 +01:00
Patrick Pelissier
0176071011
Add proper test for MRSW snapshot
2018-02-18 07:58:48 +01:00
Patrick Pelissier
be198a7040
Add MRSW snapshots.
2018-02-17 19:19:51 +01:00
Patrick Pelissier
3d5914f389
Fix issue in test
2018-02-17 18:50:03 +01:00
Patrick Pelissier
c78c75d89a
Add more test
2018-02-17 18:48:52 +01:00
Patrick Pelissier
a4753be5ae
Add test for int snapshot MRSW
2018-02-17 18:20:25 +01:00
Patrick Pelissier
210e05f7fc
Update copyright to 2018
2018-01-29 20:28:30 +01:00
Patrick Pelissier
73fda748fe
Fix issue detected by scan-build
2017-12-30 10:30:36 +01:00
Patrick Pelissier
229f99585d
Rename _look ==> _read and _take ==> _write
2017-10-15 22:49:59 +02:00
Patrick Pelissier
535ea729ed
Add a more representative test for the snapshot.
2017-10-11 22:35:57 +02:00
Patrick Pelissier
2700ccba1a
[SNAPSHOT]:
...
* Rename functions get_produced / get_consummed into get_write_buffer and get_read_buffer
* Add function _updated_p
* Add comments.
2017-10-11 22:16:39 +02:00
Patrick Pelissier
8a716cd4f4
Remove prefix snapshot from snapshot.
...
See previous commit on shared pointer.
2017-07-25 22:44:17 +02:00
Patrick Pelissier
672c2d509d
Update the way of working of the coverage so that it produces
...
more useful information about the line coveraged, and avoid
expanding low level macros.
2017-07-10 17:35:16 +02:00
Patrick Pelissier
bc9afdabed
Add a test
2017-04-13 22:16:44 +02:00
Patrick Pelissier
41aa717782
Proper use of exit to terminate a test.
2017-03-12 18:56:03 +01:00
Patrick Pelissier
8e9d20ba1a
Add initial stuff
2017-02-18 18:51:04 +01:00