Commit Graph
25 Commits
Author SHA1 Message Date
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