aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* daemon: remove miniupnptobtoht2026-04-261-2/+0
|
* blockchain sync: reduce disk writes from 2 to 1 per txjeffro2562025-03-101-2/+0
|
* wallet2: fix `store_to()` and `change_password()`jeffro2562023-08-231-8/+2
| | | | | | | | Resolves #8932 and: 2. Not storing cache when new path is different from old in `store_to()` and 3. Detecting same path when new path contains entire string of old path in `store_to()` and 4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and 5. Changing your password and storing to a new file
* unit_tests: add more sha256sum test casesJeffrey Ryan2022-05-181-0/+1
|
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Split fuzz tests during fuzz buildNym Seddon2021-01-011-11/+16
| | | | | | | | Only build fuzz tests in a fuzz build, and don't build other tests. Keeps fuzz compilers from instrumenting other tests, which are not fuzzed. Resolves #7232
* Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr2020-10-281-2/+2
| | | | | | | | monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
* Support for supercop ASM in wallet, and benchmark for supercopLee Clagett2020-05-161-0/+37
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* build: debug and test builds via contribDusan Klinec2019-04-101-0/+1
|
* Merge pull request #5061Riccardo Spagni2019-03-171-1/+1
|\ | | | | | | 1f2930ce Update 2019 copyright (binaryFate)
| * Update 2019 copyrightbinaryFate2019-03-051-1/+1
| |
* | Merge pull request #4977Riccardo Spagni2019-03-141-0/+4
|\ \ | |/ |/| | | 5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
| * device/trezor: debugging features, trezor testsDusan Klinec2019-03-051-0/+4
| |
* | ArticMine's new block weight algorithmmoneromooo-monero2019-03-041-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty. Note: the long term block weight is stored in the database, but not in the actual block itself, since it requires recalculating anyway for verification.
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* tests: disable libwallet_api_tests when BUILD_GUI_DEPS is not setmoneromooo-monero2017-11-261-1/+3
|
* always use core_tests for consistency, not coretestsmoneromooo-monero2017-10-191-1/+1
| | | | | Other tests use unit_tests, performance_tests, etc. This fixes getting it wrong half the time when typing.
* tests: pass data dir as argredfish2017-09-281-0/+1
| | | | | | | This fixes test failure on builds that happen to be built in 'build/' instead of 'build/release'. Use boost filesystem path type.
* Add fuzz testing using american fuzzy lopmoneromooo-monero2017-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | Existing tests: block, transaction, signature, cold outputs, cold transaction. Data for these is in tests/data/fuzz. A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg: contrib/fuzz_testing/fuzz.sh signature The fuzzer will run indefinitely, ^C to stop. Fuzzing is currently supported for GCC only. I can't get CLANG to build Monero here as it dies on some system headers, so if someone wants to make it work on both, that'd be great. In particular, the __AFL_LOOP construct should be made to work so that a given run can fuzz multiple inputs, as the C++ load time is substantial.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* make previous change portableTimothy D. Prime2017-02-081-2/+2
| | | | Use cmake's _PREFIX and _SUFFIX to determine the library location.
* fixes #1688 protect make debug-test from gtestTimothy D. Prime2017-02-081-16/+22
| | | | | | | | | | | | | | In simple terms, add_subdirectory() is replaced with ExternalProject_Add(). This change is inspired by https://crascit.com/2015/07/25/cmake-gtest/ with one difference, no download, using the source we already have. Before this change, make debug-test must be preceded by make clean. Otherwise, a subsequent build would be polluted by cmake options made by tests/gtest/. Also removed the changed compiler flags. My test build did not have the affected warnings.
* portable serializer: tests addedkenshi842017-01-031-0/+8
|
* cmake: transitive deps and remove deprecated LINK_*redfish2016-09-181-1/+1
| | | | | | | | | | | | | | Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
* cmake: exclude tests from runningredfish2016-09-011-11/+3
| | | | Minimize special cases in cmake script, likely to be forgotten.
* tests: cmake: fix building with system gtestredfish2016-08-301-3/+4
| | | | Issues #980 #983
* tests: cmake: use a list for enabled testsredfish2016-08-301-6/+12
| | | | Avoid replicating common logic.
* cmake: tests: gtest target is not always defined #983redfish2016-08-301-2/+9
|
* Prevent core_tests from building under TravisJacob Torrey2016-08-291-1/+3
|
* Build the core_tests under TravisJacob Torrey2016-08-271-4/+1
|
* Disabled libwallet_api_test until Issue #895 resolvedJacob Torrey2016-08-261-1/+3
| | | | Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
* Disable core_tests on Travis-CIJacob Torrey2016-08-261-2/+11
| | | | Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
* tests: enable core tests againmoneromooo-monero2016-03-171-1/+1
| | | | They should not have been disabled in the first place
* tests for wallet2_apiIlya Kitaev2016-03-161-1/+2
|
* updated copyright yearRiccardo Spagni2015-12-311-1/+1
|
* year updated in licenseRiccardo Spagni2015-01-021-1/+1
|
* cmake: support 2.8.7Ben Boeckel2014-10-241-1/+1
| | | | | | Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
* cmake: fix up miniupnpc's defineBen Boeckel2014-10-231-3/+5
| | | | | It's only necessary on Windows builds and new versions renamed the define without any compatibility bridge.
* gtest: support an external gtestBen Boeckel2014-10-231-6/+19
|
* cmake: put each test executable in its own directoryBen Boeckel2014-10-231-45/+28
|
* Merge pull request #182Riccardo Spagni2014-10-231-0/+2
|\ | | | | | | | | 1795c38 fixed unit tests (Riccardo Spagni) bc537ac miniupnpc static define change (Riccardo Spagni)
| * miniupnpc static define changeRiccardo Spagni2014-10-071-0/+2
| |
* | fixed conflict in tests CMakeListsRiccardo Spagni2014-10-151-1/+1
|\ \ | |/ |/|
| * tests: add a test for slow_memmemmoneromooo-monero2014-10-061-1/+1
| |
* | fix for mingw not playing nicely with libunbound configure, fix for ↵Riccardo Spagni2014-10-061-7/+7
| | | | | | | | correctly finding static libs on various operating systems
* | use the correct CMake variable for static buildsRiccardo Spagni2014-10-061-7/+7
|/
* remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni2014-10-021-7/+7
|
* fixed unbound libs in testRiccardo Spagni2014-09-241-7/+7
|
* Updated CMake files -- added libunbound linker flagThomas Winget2014-09-231-7/+7
| | | | | | | CMake config file written, but was unable to test/get it working properly because of a bug in CMake with functions related to find_package. Simple "-lunbound" flag used in its stead for now. May not build on non-Linux systems, not sure yet.