Commit Graph

100 Commits

Author SHA1 Message Date
Maxime Gimeno aa26d7a58b Fix merging error 2020-10-28 08:45:29 +01:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Maxime Gimeno 164f1bf790 Fix path length warnings on windows 2020-09-23 11:07:34 +02:00
Maxime Gimeno bf883db721 Fix uninitialized warning in test_use_h 2020-09-22 15:30:28 +02:00
Laurent Rineau 29db90f89f Fix CMake warnings
Reduce the path of the build directories used during the tests.

That will remove those CMake warnings:
```
22: CMake Warning in demo/Linear_cell_complex/CMakeLists.txt:
22:   The object file directory
22:
22:     C:/CGAL/test/CGAL-5.2-Ic-6/cmake/platforms/x64_Cygwin-Windows10_MSVC2017-Release-64bits/test/Installation/build_dir/non_standard_build/demo/Linear_cell_complex/CMakeFiles/Linear_cell_complex_3_demo.dir/
22:
22:   has 202 characters.  The maximum full path to an object file is 250
22:   characters (see CMAKE_OBJECT_PATH_MAX).  Object file
22:
22:     Linear_cell_complex_3_demo_autogen/mocs_compilation.cpp.obj
22:
22:   cannot be safely placed under this directory.  The build may not work
22:   correctly.
22:
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-5.2-Ic-6/Installation/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Release-64bits.gz
2020-09-17 09:55:35 +02:00
Maxime Gimeno ebdc2f352b Fix -C et -G 2020-08-27 14:31:30 +02:00
Maxime Gimeno efba4d6651 Fixes for windows and result collection 2020-08-26 12:04:30 +02:00
Maxime Gimeno 25d0585b1f Propagate the INIT_FILE to the tests 2020-08-26 09:30:40 +02:00
Maxime Gimeno 1298289873 Add "cat error.txt" in the end of cgal_test_with_cgal so the errors are detected in the results and fix the grep for ***Failed 2020-08-25 09:49:06 +02:00
Maxime Gimeno d558e7f259 Fix Warnings 2020-08-18 11:27:22 +02:00
Maxime Gimeno 7a91e29d3e Fixes 2020-08-07 09:07:58 +02:00
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 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +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