Commit Graph

88 Commits

Author SHA1 Message Date
Maxime Gimeno 6ffb10a71c Fixes for cmake-testsuite...
- Use CGAL_RELEASE_DIR as CGAL_DIR to have the real setup
 - Use RUNNING_CGAL_AUTO_TEST to detect a testsuite setup
2020-08-06 11:03:53 +02:00
Maxime Gimeno 3f4c2cd127 Chmod +x the test script 2020-08-06 10:05:40 +02:00
Maxime Gimeno 65cda18aab Specify install path for the libs 2020-07-27 11:47:15 +02:00
Maxime Gimeno 619c8db731 Fix tests find_package 2020-07-27 11:27:21 +02:00
Maxime Gimeno 61e31c6412 Fix paths and restore original tests for cgal_version 2020-07-27 10:34:10 +02:00
Maxime Gimeno 696c8eb165 Add " around all paths 2020-07-24 16:25:19 +02:00
Maxime Gimeno ef6cf3347a Add a cgal_test_with_cmake script 2020-07-22 16:34:55 +02:00
Maxime Gimeno 15c407081a Don't use -S and -B (cmake >=3.13) 2020-07-22 14:42:12 +02:00
Maxime Gimeno 88f0734749 Fix cgal_dirs 2020-07-22 14:12:17 +02:00
Maxime Gimeno cdaa213272 Add a label 2020-07-22 13:34:11 +02:00
Maxime Gimeno 608b0cb917 Add compilation and execution tests and missing files. 2020-07-22 13:13:41 +02:00
Maxime Gimeno 241d477efd Add tests in both travis and the Installation/tests. 2020-07-22 12:44:18 +02:00
Maxime Gimeno f504e45509 WIP tests in installation 2020-07-21 17:01:53 +02:00
Maxime Gimeno 24214def33 Add some tests in Installation for travis. 2020-07-09 15:47:43 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Laurent Rineau b70dcffbd7 Merge pull request #4697 from lrineau/Installation-add_CGALConfigVersion-GF
header-only mode: add CGALConfigVersion.cmake
2020-05-22 16:39:28 +02:00
Laurent Rineau 0ed0741489 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-05-18 11:59:20 +02:00
Laurent Rineau 3a2b250626 Fix a warning
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.1-Ic-152/Installation/TestReport_Friedrich_Ubuntu-gcc-7.gz
```
CMake Warning at /home/gimeno/foutoir/cgal_root/CGAL-5.1-Ic-152/cmake/modules/CGAL_enable_end_of_configuration_hook.cmake:99 (message):
  =======================================================================

  CGAL performance notice:

  The variable CMAKE_BUILD_TYPE is set to "".  For performance reasons, you
  should set CMAKE_BUILD_TYPE to "Release".

  Set CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE to TRUE if you want to disable
  this warning.

  =======================================================================
Call Stack (most recent call first):
  CMakeLists.txt:9223372036854775807 (CGAL_run_at_the_end_of_configuration)
```
2020-05-18 11:43:59 +02:00
Laurent Rineau 252b58d39f Change the version compatibility to SameMajorVersion
and change the testsuite
2020-05-14 11:26:00 +02:00
Laurent Rineau 7d64c59b86 Fix the lack of LABEL for test_find_package_version_* 2020-05-13 21:15:34 +02:00
Laurent Rineau f4581c2b13 Add CGALConfigVersion.cmake, and CTest tests 2020-05-01 15:00:35 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Laurent Rineau 2a5b7cd7ba Merge pull request #4111 from lrineau/CGAL-fix_ctest_on_Windows-GF
Fix CTest on windows
2019-09-05 14:59:38 +02:00
Laurent Rineau 1ec8dc9db8 Remaining unregistered target 2019-09-04 14:19:54 +02:00
Laurent Rineau 94d654b9ab Fill CGAL_EXECUTABLE_TARGETS wherever that was missing 2019-09-04 14:19:54 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Laurent Rineau 395e4965b7 Remove use of qt5_use_modules (warned deprecated with CMake-3.14) 2019-06-14 15:15:40 +02:00
Simon Giraudot 4745f24f2d Fix link test 2019-04-11 09:38:49 +02:00
Simon Giraudot d314711eaf Merge remote-tracking branch 'mine/Stream_support-Enhance_color-GF' into Stream_support-Enhance_color-GF 2019-04-09 15:00:56 +02:00
Laurent Rineau 68f321c58d Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch 2019-04-08 15:58:27 +02:00
Laurent Rineau 5a67ea92fc Fix the verinfo of CGAL DLLs, on Windows
And fix the test files.
2019-04-03 14:15:58 +02:00
Simon Giraudot 428195e711 Replace link test using Random instead of Color 2019-04-03 11:51:29 +02:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau a63cfa9612 Parse the XML file Test.xml from `ctest -D`
... eventually, that will help move from our testsuite scripts to
CTest testsuite, plus CDash.
2017-10-20 00:15:04 +02:00
Sébastien Loriot 5212bb55a6 fix Core dependancies 2017-02-13 17:16:30 +01:00
Laurent Rineau 4f012205a9 Fix issue #1788
LEDA 6.3 has known I/O bugs, that were reported, and are fixed in
LEDA 6.4. We have to deactivate that test, because it loops forever with
LEDA 6.3.
2017-01-09 17:17:46 +01:00
Laurent Rineau 9a0bb54922 Merge pull request #1438 from sloriot/CGAL-clean_up_projects_name_cmake
Clean up projects name in cmake scripts
2016-10-05 13:02:25 +02:00
Laurent Rineau 0f1999f1bf Add a test that will fail
With the `WILL_FAIL` property, ctest will make the test success
if it fails.

The `cgal_test` script will not run it, because the file
`will_fail.cpp` does not contain a `main` function.
2016-09-20 10:53:20 +02:00
Sébastien Loriot 7e2ee496de update project name of cmake scripts of tests 2016-09-08 00:26:37 +02:00
Clement Jamin dd3ed5b07c Remove the "S" from HEADERS_ONLY 2016-03-09 10:58:55 +01:00
Guillaume Damiand 94f2565c6a Replace the name of the variable to enable header only mode in CGAL_HEADERS_ONLY 2016-03-09 10:56:11 +01:00
Guillaume Damiand ed2956eec2 Do not use qt5 module in header only mode 2016-03-09 10:31:17 +01:00
Laurent Rineau 79f2a3d0cf Fix a warning 2016-01-25 16:45:12 +01:00
Sébastien Loriot eb4f860f3b remove mentions of Qt3 2015-10-05 15:19:58 +02:00
Laurent Rineau a1c9ef62d1 Fix last CMake issues in test/Installation/ 2015-07-14 18:17:54 +02:00
Laurent Rineau 72104a5d29 Add link_to_CGAL_Qt5 2015-07-13 17:37:52 +02:00