aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-16Support for supercop ASM in wallet, and benchmark for supercopLee Clagett1-0/+37
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-04-10build: debug and test builds via contribDusan Klinec1-0/+1
2019-03-17Merge pull request #5061Riccardo Spagni1-1/+1
1f2930ce Update 2019 copyright (binaryFate)
2019-03-14Merge pull request #4977Riccardo Spagni1-0/+4
5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-03-05device/trezor: debugging features, trezor testsDusan Klinec1-0/+4
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero1-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.
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-11-26tests: disable libwallet_api_tests when BUILD_GUI_DEPS is not setmoneromooo-monero1-1/+3
2017-10-19always use core_tests for consistency, not coretestsmoneromooo-monero1-1/+1
Other tests use unit_tests, performance_tests, etc. This fixes getting it wrong half the time when typing.
2017-09-28tests: pass data dir as argredfish1-0/+1
This fixes test failure on builds that happen to be built in 'build/' instead of 'build/release'. Use boost filesystem path type.
2017-06-24Add fuzz testing using american fuzzy lopmoneromooo-monero1-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.
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-08make previous change portableTimothy D. Prime1-2/+2
Use cmake's _PREFIX and _SUFFIX to determine the library location.
2017-02-08fixes #1688 protect make debug-test from gtestTimothy D. Prime1-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.
2017-01-03portable serializer: tests addedkenshi841-0/+8
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-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.
2016-09-01cmake: exclude tests from runningredfish1-11/+3
Minimize special cases in cmake script, likely to be forgotten.
2016-08-30tests: cmake: fix building with system gtestredfish1-3/+4
Issues #980 #983
2016-08-30tests: cmake: use a list for enabled testsredfish1-6/+12
Avoid replicating common logic.
2016-08-30cmake: tests: gtest target is not always defined #983redfish1-2/+9
2016-08-29Prevent core_tests from building under TravisJacob Torrey1-1/+3
2016-08-27Build the core_tests under TravisJacob Torrey1-4/+1
2016-08-26Disabled libwallet_api_test until Issue #895 resolvedJacob Torrey1-1/+3
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
2016-08-26Disable core_tests on Travis-CIJacob Torrey1-2/+11
Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
2016-03-17tests: enable core tests againmoneromooo-monero1-1/+1
They should not have been disabled in the first place
2016-03-16tests for wallet2_apiIlya Kitaev1-1/+2
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-01-02year updated in licenseRiccardo Spagni1-1/+1
2014-10-24cmake: support 2.8.7Ben Boeckel1-1/+1
Older versions of CMake support LINK_{PUBLIC,PRIVATE} while newer versions prefer PUBLIC and PRIVATE instead, but still support the LINK_ prefix.
2014-10-23cmake: fix up miniupnpc's defineBen Boeckel1-3/+5
It's only necessary on Windows builds and new versions renamed the define without any compatibility bridge.
2014-10-23gtest: support an external gtestBen Boeckel1-6/+19
2014-10-23cmake: put each test executable in its own directoryBen Boeckel1-45/+28
2014-10-23Merge pull request #182Riccardo Spagni1-0/+2
1795c38 fixed unit tests (Riccardo Spagni) bc537ac miniupnpc static define change (Riccardo Spagni)
2014-10-15fixed conflict in tests CMakeListsRiccardo Spagni1-1/+1
2014-10-07miniupnpc static define changeRiccardo Spagni1-0/+2
2014-10-06fix for mingw not playing nicely with libunbound configure, fix for ↵Riccardo Spagni1-7/+7
correctly finding static libs on various operating systems
2014-10-06use the correct CMake variable for static buildsRiccardo Spagni1-7/+7
2014-10-06tests: add a test for slow_memmemmoneromooo-monero1-1/+1
2014-10-02remove pthreads, successfully tested on gcc 4.9.1 without pthreadsRiccardo Spagni1-7/+7
2014-09-24fixed unbound libs in testRiccardo Spagni1-7/+7
2014-09-23Updated CMake files -- added libunbound linker flagThomas Winget1-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.
2014-09-11fixed upnp libs in tests cmakefluffypony1-1/+31
2014-06-11Link to pthreads on non-apple unixZachary Michaels1-7/+7
2014-04-09Port mapping with UPnPAntonio Juarez1-2/+4
2014-03-20some fixesAntonio Juarez1-9/+2
2014-03-03moved all stuff to githubAntonio Juarez1-0/+64