Jiaming Yuan
7b9043cf71
Fix clang-tidy warnings. ( #4149 )
...
* Upgrade gtest for clang-tidy.
* Use CMake to install GTest instead of mv.
* Don't enforce clang-tidy to return 0 due to errors in thrust.
* Add a small test for tidy itself.
* Reformat.
2019-03-13 02:25:51 +08:00
trivialfis
cf2d86a4f6
Add travis sanitizers tests. ( #3557 )
...
* Add travis sanitizers tests.
* Add gcc-7 in Travis.
* Add SANITIZER_PATH for CMake.
* Enable sanitizer tests in Travis.
* Fix memory leaks in tests.
* Fix all memory leaks reported by Address Sanitizer.
* tests/cpp/helpers.h/CreateDMatrix now returns raw pointer.
2018-08-19 16:40:30 +12:00
Rory Mitchell
e939192978
Cmake improvements ( #2487 )
...
* Cmake improvements
* Add google test to cmake
2017-07-06 18:05:11 +12:00
AbdealiJK
582c373274
tests/cpp: Add tests for metric.cc
2016-12-04 11:25:57 -08:00