Commit Graph

260 Commits

Author SHA1 Message Date
Leonid Yuriev
2e7e1079c4 mdbx-test: auto-reducing nops for nested and ttl testcases.
Change-Id: Ie060c580e87becbc033611e00532449522f3adbe
2020-05-25 14:53:35 +03:00
Leonid Yuriev
3990f1cc07 mdbx-test: implement 'speculum' checking for ttl testcase.
Change-Id: Ic825711893f782a71e75447575ac76644ac3f482
2020-05-23 01:34:50 +03:00
Leonid Yuriev
cefbe02130 mdbx-test: add dump-load.sh script. 2020-05-15 22:03:29 +03:00
Leonid Yuriev
0ee51f816e mdbx-test: revert removal of the vector[...] pattern to avoid issues from old Valgrind.
Change-Id: Idb16591254cf7f89b5cb9971aef7bb107736ca80
2020-05-15 11:30:35 +03:00
Leonid Yuriev
68241762e7 mdbx-test: implement cleanup(). 2020-05-15 11:30:35 +03:00
Leonid Yuriev
a2c534b391 mdbx-test: refine long_stochastic script.
Change-Id: Ic2aecfcb7e7f9b7233c7e72b6a34fb565fab6922
2020-05-15 11:30:35 +03:00
Leonid Yuriev
42dd0219e4 mdbx: minor fix/refine comments. 2020-05-15 11:30:35 +03:00
Leonid Yuriev
051d9e6f91 mdbx-test: remote obsolete vector[...] pattern from Valgrind's suppressions.
Related to https://github.com/erthink/libmdbx/issues/82

Change-Id: I603b9ffe55692af430b2dcbc577a9e7055fce3d5
2020-05-03 20:44:49 +03:00
Leonid Yuriev
5819f7a468 mdbx-test: update suppressions for modern Valgrind.
Related to https://github.com/erthink/libmdbx/issues/82

Change-Id: I6079a40274349516d285c85b3c766d6029ac8826
2020-05-03 20:31:02 +03:00
Leonid Yuriev
8c29c3711d mdbx-test: mdbx: avoid gcc-anylyzer false-positive warnings. 2020-05-02 22:38:53 +03:00
Leonid Yuriev
07174cbfdf mdbx-test: fix minor Coverity warnings.
Change-Id: I53ab4ee10317b4530db727ed0b431e5de9887b74
2020-05-01 02:42:28 +03:00
Leonid Yuriev
5d7d45f0e5 mdbx-test: minor cleanup osal_delay() for Windows.
Change-Id: If9c57cc1eba4c873be5d9176f7f6745c2363a0d6
2020-04-17 00:37:57 +03:00
Leonid Yuriev
971f924c44 mdbx-build: rearrange source files, rework CMakeLists.txt and refine GNUMakefile (squashed).
Change-Id: Id73d346695011dab2f670bb9e6293a1e5a1835ca
2020-04-17 00:37:57 +03:00
Leo Yuriev
56222db3ba mdbx-test: follow MDBX_UNABLE_EXTEND_MAPSIZE changes.
Change-Id: I3c0074db11e229c5a7aaac6a589a42c041666b17
2020-02-28 17:39:52 +03:00
Leonid Yuriev
aeda2aa8c5 mdbx-test: minor cleanup pcrf-test/example.
Change-Id: Ie4d56592c8dd561d49ca423c2a8ac653a9e853ee
2020-02-01 20:43:18 +03:00
Leonid Yuriev
7c894f0542 mdbx: HNY!
Change-Id: Idbd21263408f87ac2715675c9f7ccc6c44d41c9a
2020-01-21 00:17:55 +03:00
Leonid Yuriev
8cd7cfc65d mdbx-test: refine jitter testcase.
Change-Id: If1a3774da2b8b29249d81a54799117646820c036
2020-01-06 01:42:31 +03:00
Leonid Yuriev
230e4654f1 mdbx-test: don't use MDBX_DBG_DUMP.
Change-Id: I10274a2037d0630b5ba5ea39a67a107c5615e4cd
2020-01-05 15:17:06 +03:00
Leonid Yuriev
cda829b327 mdbx-tests: fix built-in help.
Change-Id: Ia4073e6394b48ceef7b032bd023d4d409efc7667
2020-01-05 00:49:16 +03:00
Leonid Yuriev
1c4b80ec61 mdbx-test: output txn-size limit into test-log.
Change-Id: Ib4b7b5932df794879226e0d32c8a7e6b1d31d17f
2020-01-05 00:34:33 +03:00
Leonid Yuriev
b3a5ab692b mdbx-tests: add notls into long-stochastic.
More for https://github.com/leo-yuriev/libmdbx/issues/72

Change-Id: I62468a38844292bc4073e36d70e7b7ee8d1a6009
2019-12-28 02:28:36 +03:00
Leonid Yuriev
4eccf901ea mdbx: rename MDBX_NOSYNC to MDBX_SAFE_NOSYNC for clarity.
Change-Id: I1d04600832cb7c86c578d72f3d6163ee22d134b7
2019-12-15 15:17:24 +03:00
Leonid Yuriev
feb8dbf6d9 mdbx-test: fix single-actor mode for Windows. 2019-12-07 03:08:03 +03:00
Leonid Yuriev
64eeb623be mdbx-tests: add db-resize to jitter case.
Change-Id: I414e8f3fa676ab7e6716a58cfbc213e0ad4258f9
2019-12-07 03:08:00 +03:00
Leonid Yuriev
94d90d87db mdbx-test: cleanup pcrf_test from deprecated API.
Change-Id: I06bffb666bb0b202c5d18c838d5f06a1d0381b60
2019-12-03 03:23:39 +03:00
Leonid Yuriev
229416a6f4 mdbx-test: fix SEM_A/SEM_R for NetBSD. 2019-11-30 01:29:48 +03:00
Leonid Yuriev
d80654fa07 mdbx: rework max key-length and limit API.
Change-Id: I3d783f69d4ea438d8a8a0505fa9163715fbdcf9c
2019-11-30 01:29:48 +03:00
Leonid Yuriev
e69a7c1ba2 mdbx-test: minor refine nested case.
Change-Id: Ib790c762b4d87a12d0c53e490e06638d0be0cd33
2019-11-26 15:43:06 +03:00
Leonid Yuriev
fa8b68af1f mdbx-test: fix speculum_verify().
Change-Id: I5bdcf771dd5d6117230c964616b4f4ed81f084f7
2019-11-26 15:31:04 +03:00
Leonid Yuriev
f008876a93 mdbx-test: fix rusage for single-mode.
Change-Id: Id1928ad6061306b4d85f38cd296e172615d92741
2019-11-26 15:29:37 +03:00
Leonid Yuriev
497aa53e28 mdbx: fix minor typos.
Change-Id: Ib0c62eace9c766844a3f44124b525a3c6373c620
2019-11-18 00:13:27 +03:00
Leonid Yuriev
42d9e06598 mdbx: add MDBX_ACCEDE environment opening flag.
Change-Id: If0a08d6fce127f35ff2992988715b7dc1fdb70a9
2019-11-16 00:23:03 +03:00
Leonid Yuriev
fe40af160d mdbx: split-off mdbx-options into options.h. 2019-11-13 23:50:38 +03:00
Leonid Yuriev
d3e4a4659f mdbx-test: use SysV semaphores on systems without shared mutexes.
Change-Id: Icc8bbbb9237917932e360920d613ee7f37a57710
2019-11-13 11:31:22 +03:00
Leonid Yuriev
c882f77f54 mdbx-test: refine locking options.
Change-Id: I6cb8798fd71b4b1ce2a76238ba955e7f6d539e45
2019-11-13 11:31:22 +03:00
Leonid Yuriev
5af02290e6 mdbx: portability fixes for SunOS/Solaris/OpenIndiana.
Change-Id: I0442367e798903598d706c65b536a127ca982fce
2019-11-11 15:13:56 +03:00
Leonid Yuriev
6a7499c8fc mdbx: refine POSIX-options detection. 2019-11-11 13:10:22 +03:00
Leonid Yuriev
885d5b2121 mdbx-test: support for systems lack of _POSIX_THREAD_PROCESS_SHARED.
Change-Id: I75437b83b430eaa10551a74b786faaba407d7026
2019-11-11 13:10:22 +03:00
Leonid Yuriev
3e7944f732 mdbx: use POSIX.1 IPC semaphores on systems without shared mutexes.
Change-Id: I5e398257e65c355d1028167f2719232fc55d093a
2019-11-11 13:08:19 +03:00
Leonid Yuriev
ca06572e2a mdbx-test: add built-in help/usage.
Change-Id: If6e5e15622810b52d8db71db839942ab5f9444f3
2019-11-04 00:22:13 +03:00
Leonid Yuriev
5233a3cdb4 mdbx-test: add resource usage (CPU time).
Change-Id: I96b9bc9e748186ef122c809386ec3f52259d3b33
2019-11-04 00:22:13 +03:00
Leonid Yuriev
2c48f295b0 mdbx-tests: simplify/speedup basic testcase.
Change-Id: Iaaa4eb784be6fc8bc84ceddc202dbe524bea1dc9
2019-11-04 00:22:13 +03:00
Leonid Yuriev
b4a5728455 mdbx: rework readahead management.
Change-Id: Ic1e2f3f5bd7fb2e9fd8d5820816e3d2def6ec1b3
2019-11-04 00:22:13 +03:00
Leonid Yuriev
84bff89eb1 mdbx: conform to and use -Wpedantic.
Change-Id: I3056af7ae53c5a7c3ecbfe828ab1d5ee94c2bc26
2019-10-26 00:02:28 +03:00
Leonid Yuriev
81fd0beb1a mdbx: rework/fix unaligned access.
Change-Id: Ib0208e78786ac84551384ed57ac580fe0717840e
2019-10-24 22:12:14 +03:00
Leonid Yuriev
70350bad81 mdbx-cmake: require C99 or use C11 when available.
Change-Id: I241e8c38232750efb537a0b581f822540f207cdc
2019-10-24 22:12:14 +03:00
Leonid Yuriev
0137d1f303 mdbx: alter Valgrind suppressions.
Change-Id: Ia662fe80eb22efb98a63acdf390e5e03cc5953b2
2019-10-21 10:00:55 +03:00
Leonid Yuriev
72f2a315c4 mdbx-test: don't filter lib's output by test's log-level.
Change-Id: Ieb45a532aee9b2a3d8ef11eb315b7eb01c1c0ef1
2019-10-21 07:50:11 +03:00
Leonid Yuriev
7681132704 mdbx-test: more probability of zero-window (i.e. flipcoin_x4) for ttl and nested testcases.
Change-Id: Ida539a080f86e046c7f10320b504d58219560c3d
2019-10-21 07:50:11 +03:00
Leonid Yuriev
7878b2e31d mdbx-test: less probability for aborting nested transactions in nested testcase.
Change-Id: Idf12b69313af7f11a0c9c457942d7a442e37e7b4
2019-10-21 07:50:11 +03:00