aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt (follow)
AgeCommit message (Collapse)AuthorFilesLines
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