Commit Graph

429 Commits

Author SHA1 Message Date
Leonid Yuriev
0c3fb1804e mdbx-test: add SPECULUM_CURSORS build macro/option.
Change-Id: I5dc9ccde725ce49db4fb0e94be02e9c7b48f1291
2021-03-28 23:34:41 +03:00
Leonid Yuriev
19575e799f mdbx-test: add stochastic reverse mode to the append scenario.
Change-Id: If506aff63b6c517922ae621f7805b58c9282e946
2021-03-28 23:34:41 +03:00
Leonid Yuriev
ecc755881e mdbx: move key generator linearization into actor::review_params().
Change-Id: I35492f64b6b5eae9702d26f3e0ba9df31f57a4af
2021-03-16 02:44:28 +03:00
Leonid Yuriev
f4781b63a8 mdbx-test: add params-review by actors.
Change-Id: I79fb6cb19c73facd8cc8cefc3bf3101e9d0c672c
2021-03-16 01:45:49 +03:00
Leonid Yuriev
b48958c177 mdbx-test: add registry for test cases.
Change-Id: Ie9f069dbe6846af170628945db9897ec690fc3da
2021-03-15 20:52:18 +03:00
Leonid Yuriev
f3356d1f86 mdbx-test: add --keylen=N and --datalen=N options.
Change-Id: I7bb4fdbc3ab5445ca3ecc8065eb90620d1958a1e
2021-03-15 14:20:07 +03:00
Leonid Yuriev
b57a338546 mdbx-test: minor refactor mdbx_logger().
Change-Id: I058be7e01b5fc031610363bf6747ae7f62ba4c67
2021-01-31 23:20:49 +03:00
Leonid Yuriev
bc33875a9e mdbx-test: more iterations and steps for long-stochastic scripts. 2021-01-30 02:28:04 +03:00
Leonid Yuriev
251eda6fb8 mdbx: HNY!
Change-Id: I86c7028001b349e3d06b837dc8e2f7e60fb3b1a2
2021-01-26 07:27:13 +03:00
Leonid Yuriev
e1a022be27 mdbx-tests: more wilcards for Valgrind's suppressions.
Change-Id: I1fbc1f5c38dd71d5937b8d0df813b05fdf1a6c43
2021-01-21 22:45:28 +03:00
Leonid Yuriev
d26ae6875b mdbx: fix assertion to avoid false-positive UB detection by CLANG/LLVM.
Assume this resolve https://github.com/erthink/libmdbx/issues/153

Change-Id: I02ceba1063a338b6dedf17629b51b3466358b0b8
2021-01-21 22:45:28 +03:00
Leonid Yuriev
764dab90fc mdbx-tests: set MALLOC_CHECK environment varilables.
Change-Id: Ic5d2a4b5c69d05111051432996f5382bb73caba1
2021-01-19 23:53:16 +03:00
Leonid Yuriev
760f1654c2 mdbx-test: minor extension for jitter test case.
Trivial test for https://github.com/erthink/libmdbx/issues/146.

Change-Id: If5b365ebedf8609c9ec12569d5e5173799379195
2020-12-17 17:41:24 +03:00
Leonid Yuriev
75e1da1f2d mdbx-test: fix speculum-check iterator.
Change-Id: Idaeea908fdcd7b2c1248ae10eeb7f394d69bb987
2020-11-19 17:28:47 +03:00
Leonid Yuriev
5619fefe0a mdbx-test: fix actor_poll() against the EBADF error from pipe. 2020-11-17 15:40:02 +03:00
Leonid Yuriev
94fae97f88 mdbx: avoid paranoid CLANG's enum ops UB. 2020-11-17 15:00:51 +03:00
Leonid Yuriev
b1008b1256 mdbx-test: use MDBX_SET_LOWERBOUND.
Change-Id: I4f6efab69996d4678a78024337a6698a65c2386b
2020-11-17 08:13:46 +03:00
Leonid Yuriev
7cdbe1badb mdbx-test: extending speculum mode for cursors tracking verification.
Change-Id: I44786efcee6feb1c7d414c925717d08ed9d94e20
2020-11-16 07:07:39 +03:00
Leonid Yuriev
96143a9bb2 mdbx-test: always check speculum its own operations.
Change-Id: I38e668ce70f0e1ccb7bf2692a3b406fed9f87f53
2020-11-16 07:07:38 +03:00
Leonid Yuriev
2120e396fc mdbx-test: fix logging typo.
Change-Id: I0e6c71c62d5b0ff8939ff5b08645bb8347637bec
2020-10-26 14:37:16 +03:00
Leonid Yuriev
efe7cf2a95 mdbx-test: rework append testcase.
Change-Id: Ic4571bf1d9ccbe70536cd80cb3d88d55da03b31d
2020-10-26 03:52:07 +03:00
Leonid Yuriev
1b21703c7b mdbx-test: rework/refine key-value generation.
Change-Id: I0da7c708cc18785f804112483bb86921fefdb8eb
2020-10-26 03:52:07 +03:00
Leonid Yuriev
3c55a27230 mdbx-test: add flipcoin_n().
Change-Id: I30463c244f44632f0dae13539c5855cba705e639
2020-10-26 01:30:35 +03:00
Leonid Yuriev
73c2e5355f mdbx-test: add log_pair() (minor).
Change-Id: Ifdb762e79b14df0608b5b298941114ada4bc0095
2020-10-26 00:55:32 +03:00
Leonid Yuriev
56809cb711 mdbx-test: more auto-adjustment of min/max length of key/values.
Change-Id: I22ac3845a341f8f4414ac0719f1a4c007f035b60
2020-10-26 00:42:21 +03:00
Leonid Yuriev
1db0a6fc92 mdbx-test: add cursor_renew().
Change-Id: I7d7dac646aba7535391bd7585025e43cdd57d21c
2020-10-24 00:56:26 +03:00
Leonid Yuriev
fe8a101960 mdbx-test: minor fix nested case (avoid assertion failure).
Change-Id: Iad2bfc41b726e0737acda5afb354c9d70b372c86
2020-10-21 02:24:39 +03:00
Leonid Yuriev
b964b2abf5 mdbx: more spelling.
Change-Id: I45e42c1d8ef51f910b8e41279b92e54a6b2ce772
2020-10-21 01:00:48 +03:00
Leonid Yuriev
9afbde9b0a mdbx-test: use mdbx_env_delete() in a test and drop aux functions.
Change-Id: I3b0e409c23067abcaefd4f9c5627df804382b348
2020-10-10 00:59:12 +03:00
Leonid Yuriev
7fcf94be64 mdbx-test: don't wait for long-lived readers until DB growth. 2020-09-30 16:45:19 +03:00
Leonid Yuriev
c8a0951566 mdbx: rework API and Docs around Handle-Slow-Readers (no algorithmic changes).
Change-Id: I5b76a8400ce6f5f241f8e4a7f53d746fe39f8e1e
2020-09-29 21:15:25 +03:00
Leonid Yuriev
cea56c3840 mdbx-cmake: makes an C++ compiler optional.
Change-Id: Id1445a95e4a458012e77e1e505563025f0471487
2020-09-27 17:01:59 +03:00
Leonid Yuriev
12770cae88 mdbx-test: cleanup for without MDBX_NOSUBDIR case.
Change-Id: I50d6640108ca229e4919ea96469152d2533f9cab
2020-09-27 17:01:59 +03:00
Leonid Yuriev
860aa017db mdbx: Merge branch 'master' into devel.
Change-Id: Ic130cd181097332aa2f49019d75403e18d8cba0d
2020-09-25 01:14:57 +03:00
Josh Soref
448728f584 mdbx: a lot of spelling (squashed).
Many Thanks to Josh Soref for these fixes.
https://github.com/jsoref

Resolves https://github.com/erthink/libmdbx/pull/118.

Change-Id: I4e09347da5c9d7a77cdd918a3b15284371440076
2020-09-25 01:01:25 +03:00
Leonid Yuriev
e86bc5b901 mdbx-test: avoid looping on MIPS under QEMU.
Change-Id: I0e91bdd21441634dd1a6cfcd00a2e8b9f99034aa
2020-09-21 17:18:07 +03:00
Leonid Yuriev
27eef5f991 mdbx-test: extends long-stochastic script.
Change-Id: Ifc700c8b456d27d4dad285b88a05700835eee201
2020-09-21 17:18:07 +03:00
Leonid Yuriev
b97edde1f7 mdbx-test: add Valgrind-suppression for msync() from mdbx_mapresize().
Change-Id: I1e303b71382f7d130abdedd53435473316ebf19f
2020-09-21 17:18:01 +03:00
Leonid Yuriev
deb41a10d7 mdbx-test: add Valgrind-suppressions for single-page flush by pwrite().
Change-Id: Id4cc57f936e9f0aaafee72c2997ff0776555ee15
2020-09-21 03:29:38 +03:00
Leonid Yuriev
cacc4aa829 mdbx++: changes after codereview-1 (part 2 of 2).
Change-Id: I8e1ca134bb8c5d447895f116247dfd12fa6871f0
2020-09-14 21:19:56 +03:00
Leonid Yuriev
17d9ed31f9 mdbx: support for building by GCC 4.8
Change-Id: I4ad5c5be60233ae68936e0cbca1a0f01ec786bad
2020-09-13 21:22:41 +03:00
Leonid Yuriev
58bcfb006e mdbx: add mdbx_printf_args() macro.
Change-Id: I7fca72f8cc912d8644ecf149b755c78fb3cc7e23
2020-09-10 15:35:43 +03:00
Leonid Yuriev
88a4b8cb9b mdbx++: Initial C++ API (some extra methods are not implemented).
Change-Id: I0478d0c94dcd12b52916e87815e5731817407c3c
2020-08-28 16:45:30 +03:00
Leonid Yuriev
ffa10a25d6 mdbx: use enums & bool in the C API.
Change-Id: I952f578cceb7d02ade16f545d47245d4d9106441
2020-08-06 01:48:56 +03:00
Leonid Yuriev
1e7a1da14e mdbx: separate transaction flags.
Change-Id: Ib9a0f6946e1ecf35059e2dccc91319ae130c9f9b
2020-08-06 01:48:56 +03:00
Leonid Yuriev
5e43ee61a2 mdbx: drop/deprecate MDBX_MAPASYNC.
Change-Id: I472f97f568a32325eb056c8ee4d2f2350a473bda
2020-08-06 01:48:56 +03:00
Leonid Yuriev
a902538e34 mdbx: more Doxygen tags (almost done).
Change-Id: I696e717e37a905f68af059c51f9df327c257332e
2020-07-24 22:49:21 +03:00
Leonid Yuriev
b6085afb5a mdbx-test: minor fix for MSVC-2015.
Change-Id: I631009ffe0b04428026492d1cab691b58fdd160a
2020-07-08 03:13:07 +03:00
Leonid Yuriev
9720ed39f5 mdbx: using enum instead of #define for flags/modes.
Resolve https://github.com/erthink/libmdbx/issues/108

Change-Id: I45897300375d2b5b9361aaba81dadcf9801fe3cf
2020-07-08 02:26:46 +03:00
Leonid Yuriev
2e0d2e65af mdbx: fix minor typos. 2020-07-07 23:16:43 +03:00
Leonid Yuriev
0fb127b935 mdbx-test: add --random-writemap[=YES|no] option.
Change-Id: Ie83f64d4a7e199f828540f029c2c47deddb05c01
2020-07-06 14:35:41 +03:00
Leonid Yuriev
2ee45b1820 mdbx-test: using std::atomic<> instead of sig_atomic_t.
Change-Id: I37d0c2768ec54ddd3c529d4b9a29f66df6ca265e
2020-06-26 03:33:53 +03:00
Leonid Yuriev
95199c754a mdbx-cmake: fixes for old C/C++ compilers and/or CMake. 2020-06-26 03:28:15 +03:00
Leonid Yuriev
171a254425 mdbx-test: use banner tool only when available.
Change-Id: I4b9bffffc69e664fbca8346312934534ad7579e7
2020-06-20 19:03:10 +03:00
Leonid Yuriev
21fba6577a mdbx-test: fix clang/glibcxx incompatibility.
Change-Id: I59c4f486431126396dc59a84914d78e0eeff1f4c
2020-06-04 19:57:07 +03:00
Leonid Yuriev
c9f461c4eb mdbx-test: don't use --speculum option for nops > 10K.
Change-Id: I431e2de1882fab8a176b51aa9aa19cb409559181
2020-05-28 00:42:15 +03:00
Leonid Yuriev
7f920b5cfc mdbx-test: minor refine comments & keygen-params ranges.
Change-Id: I8ebb0647d4d5a8637d57a39e9ddee4727bffb18f
2020-05-26 18:40:10 +03:00
Leonid Yuriev
ffa29f9466 mdbx-test: 17Gb DB size for long-stochastic. 2020-05-26 15:46:52 +03:00
Leonid Yuriev
02ebd4db78 mdbx-test: cosmetics (use banner) for long-stochastic. 2020-05-26 15:11:59 +03:00
Leonid Yuriev
f7b8b699b8 mdbx-test: engage '--speculum' option to long-stochastic.
Change-Id: Ie43460752abc6590b9abce995290d8a290759a1c
2020-05-25 14:53:38 +03:00
Leonid Yuriev
782429487f mdbx-test: add '--keygen.zefofill=NO' option.
Change-Id: Iec45ab7a79846acc66cb034000ff3c146921e02a
2020-05-25 14:53:38 +03:00
Leonid Yuriev
2c8f115400 mdbx-test: fix nops_completed type.
Change-Id: I9b9930bc26d4301d0da0fdf59bc70befc37e2f6a
2020-05-25 14:53:38 +03:00
Leonid Yuriev
4da4ab3650 mdbx-test: alter/refine iteration loops.
Change-Id: I78657b0c736d84dc3fbb75ad28a9465cad0ff4b2
2020-05-25 14:53:38 +03:00
Leonid Yuriev
bfad1f7086 mdbx-test: redesign fitting internal parameters of "ttl" & "nested" testcases.
Change-Id: I3ade4ba9d78c00ff6911c3e35738f7dcbf63de64
2020-05-25 14:53:38 +03:00
Leonid Yuriev
d83a765dbe mdbx-test: don't fail "ttl" & "nested" testcases on key-space overflow.
Change-Id: I6788a02ecd88bec086b1d12c3d9246c8de59ed29
2020-05-25 14:53:38 +03:00
Leonid Yuriev
a9705c4f34 mdbx-test: print reached depth from long-stochastic script.
Change-Id: I4a2a17d5e3fc833038f490a8b3a818843c0fc83a
2020-05-25 14:53:38 +03:00
Leonid Yuriev
f7aac55374 mdbx-test: output b+trees depths from 'hill' testcase.
Change-Id: I69451096186bf35ee5816f6c7f5a101781f58214
2020-05-25 14:53:38 +03:00
Leonid Yuriev
4dc7f0cb4b mdbx-test: rework cycling for ttl & nested testcases.
Change-Id: If2f83187bd7998c2ddc7e2487a17d13648241b9c
2020-05-25 14:53:38 +03:00
Leonid Yuriev
a85ae436eb mdbx-test: simplify txn commit/abort path.
Change-Id: I86780a43f9f7b1a52dfa97168ad53cf7389d5e2e
2020-05-25 14:53:38 +03:00
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
Leonid Yuriev
2280ab0513 mdbx-build: refine memcheck target.
Change-Id: I8551c5d7ce5249a16959d34c1272c38cd1ad2d27
2019-10-15 21:54:31 +03:00
Leonid Yuriev
3ce4c3a0e4 mdbx-test: minor refine actor_poll() for Windows.
Change-Id: Ic1d98ae9e6d8bd7534390b15682f0bc7d1e73fac
2019-10-12 11:10:45 +03:00
Leonid Yuriev
23733bf4af mdbx-test: rework/fix actor_poll() to avoid loosing SIGCHLD.
Change-Id: I93aa2aa40e07e807795e050cd468d77dab62e67a
2019-10-12 11:10:45 +03:00
Leonid Yuriev
39c1238d8e mdbx: refine Valgrind support (i.e. avoid false-positives).
Change-Id: I688b2e905d0b705c34ab29df29bfd0a9bcdde8c9
2019-10-11 01:06:26 +03:00
Leonid Yuriev
13b52b1d51 mdbx-test: avoid redefine xSEC_PER_SEC.
Change-Id: I67fd2b12d5745f4f14f8da80ee313234a4e35617
2019-10-10 22:53:13 +03:00
Leonid Yuriev
7ed1586ea6 mdbx-test: fix for MDBX_BAD_TXN in case txn auto-cancelled during commit.
Change-Id: I1fafed6f6ac55de171d24947039f37eb4cb384a9
2019-10-10 22:36:53 +03:00
Leonid Yuriev
0616fa72d4 mdbx-test: minor fix nested case.
Change-Id: Ic9e2b9e9fb8a7c79c5a4e89fb6fa45c23d2d3985
2019-10-10 22:15:15 +03:00
Leonid Yuriev
e5bd1a6d6f mdbx-test: fix MSVC warnings (minor). 2019-10-10 00:57:22 +03:00
Leonid Yuriev
95bb371b0d mdbx-test: fix build by non-c++17 compilers.
Change-Id: I899f1a39eb8fde3ce3821b5964885f1121e65be3
2019-10-10 00:29:51 +03:00
Leonid Yuriev
0f8b2ff399 mdbx-test: add nested testcase.
Related to https://github.com/leo-yuriev/libmdbx/issues/62

Change-Id: I5fee861582987cc11a648a3365b19c28e493317d
2019-10-09 23:38:44 +03:00
Leonid Yuriev
66430fd10d mdbx-test: add verifying by speculum option.
Change-Id: I3d689234d0214f93f27dd2581bd9d0658692c0c9
2019-10-09 23:35:26 +03:00
Leonid Yuriev
85cd04b712 mdbx-test: using c++17 (for std::string_view).
Change-Id: I79d9bac8ea8ba6c337d71683549a37c8434b93fa
2019-10-06 18:45:52 +03:00
Leonid Yuriev
f629914217 mdbx-test: add dataset verification to hill testcase.
Change-Id: I8b781e98a02a8c32eeb82e54821b0941556d9f8c
2019-10-06 13:07:15 +03:00
Leonid Yuriev
e3b5381f30 mdbx-test: fix enabling MDBX_DBG_AUDIT.
Change-Id: If30f607f4c74f2bc39bd6b85dabbeb474284b989
2019-10-04 18:52:15 +03:00
Leonid Yuriev
5420a3b2fb mdbx-test: less detailed logging for Windows to avoid test-timeout.
Change-Id: I66e66e3a5c589106fe58dda554491890e0a22011
2019-10-02 13:52:54 +03:00
Leonid Yuriev
632e688202 mdbx-test: rework progess inticator.
Change-Id: Iaf3f7823ab7a0fe9f00607eb803390669c37005f
2019-10-02 02:51:50 +03:00
Leonid Yuriev
4d49112a56 mdbx-test: refix logging.
Change-Id: I8852cca84669b4da2a994f2d5d2cec833e21f2f6
2019-10-02 00:12:04 +03:00
Leonid Yuriev
87f8c01ac4 mdbx: add space argument for oom-callback.
Change-Id: I27634e02046df375fffae66de3124e8cd90cc61c
2019-09-30 00:15:13 +03:00
Leonid Yuriev
20447c877d mdbx: refine mdbx.h and API description, etc (5 of 5).
Change-Id: I851736cccb4d0271d6f351e1358cc5c4e1257bb4
2019-09-27 02:28:17 +03:00
Leonid Yuriev
1ab33333bc mdbx: refine options and build-info.
Change-Id: Ib1a778dd27a0ea8b3a05484b2208e2222736b2d3
2019-09-25 19:03:04 +03:00
Leonid Yuriev
40ee895aae mdbx: refine internal debug facilities.
Change-Id: I934cb8587f07c59268b16a0dd99daeb7ac440e62
2019-09-24 10:07:50 +03:00
Leonid Yuriev
d1d1258591 mdbx-build: made 'config.h' optional.
Change-Id: Iafc968cb7000f77cf23169ce07b532386bbce029
2019-09-10 15:52:37 +03:00
Leonid Yuriev
e08787afca mdbx-test: fix win32 build (minor warnings).
Change-Id: Ibe66ddcad98f21fd8dc508ea6bd43d4568266972
2019-09-10 13:41:37 +03:00
Leonid Yuriev
e7095e9ada mdbx: remove UTF8-BOM (preparation for 'make dist').
Change-Id: I2d0ccc9f7bbed6d57b2fe6ef156f33531a4eeb69
2019-09-10 02:18:50 +03:00
Leonid Yuriev
4969d75ef3 mdbx-test: add Darwin/OSX support to long_stochastic-script. 2019-09-04 03:09:18 +03:00
Leonid Yuriev
7fc4c4fccb mdbx-test: fix legacy 'pcrf' test warnings. 2019-09-04 03:09:18 +03:00
Leonid Yuriev
263837094e mdbx-build: refine CMake scripts, add build options.
Change-Id: Ie3db2f6439d5cc7ef3cd9ebb5b8e5d5d34f743dd
2019-09-03 02:56:01 +03:00
Leonid Yuriev
6f39d8228d mdbx-cmake: add MDBX_ALLOY_MODE option.
Change-Id: I486f737fc24a48ecd3444859bee2132c9606aef5
2019-09-03 02:43:09 +03:00
Leonid Yuriev
d974ca322b mdbx-test: remove std::unary_function<> for C++17. 2019-09-03 02:33:59 +03:00
Leonid Yuriev
5a87faf9af mdbx-build: start using CMake (incomplete; no properly installation for now). 2019-09-03 02:33:57 +03:00
Leonid Yuriev
f81374a9ce mdbx-build: amalgamation.
Change-Id: Ic32de6ee119df2bc12136b882f4f7cabaa1314a9
2019-09-03 02:30:55 +03:00