Laurent Rineau
dc02598a5c
Merge pull request #4016 from gdamiand/CGAL-more_viewers-gdamiand
...
CGAL: more viewers
2019-07-10 14:22:50 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +02:00
Laurent Rineau
5341998c7e
Add a new ctest fixture, that checks the build system
...
That will avoid that `cmake` is run in parallel several times, when
`ctest -j` is used.
2019-06-28 12:53:53 +02:00
Guillaume Damiand
67307dcead
Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments.
2019-06-19 15:48:10 +02:00
Laurent Rineau
7be5e3fbe5
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-05-23 08:44:39 +02:00
Laurent Rineau
357fe1e486
Fix CTest CGAL tests when binary dir is a sub-directory
...
When the current binary dir is a sub-directory of the current sources
dir, then the recursive copy of the sources dir to `__exec_test_dir/`
cannot be done. In that case, do not setup the fixture
directory. Tests can still be run in the source directory (and pollute
it).
2019-05-20 12:18:18 +02:00
Laurent Rineau
90782d4b7f
Revert the merge of two pull-requests that target CGAL-4.14-branch
...
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Maxime Gimeno
43167252fa
Fix cin management in CGAL_add_tests
2019-03-21 11:37:39 +01:00
Laurent Rineau
6eab4c014c
Update the handle of .cin files with CGAL_RUN_TESTS_THROUGH_SSH
2019-03-21 09:52:53 +01:00
Maxime Gimeno
64cfc19d68
Remove -d option. Any HOST declared as not localhost will be considered as a remote host and launch the cross compilation.
2019-03-12 14:58:11 +01:00
Maxime Gimeno
7c0d23b18f
Fix CGAL_DIR and change names in CGAL_add_tests
2019-03-12 10:13:07 +01:00
Maxime Gimeno
17079b0d53
Kill remote process if ssh is killed (ctrl+c or timeout)
2019-03-01 15:43:58 +01:00
Maxime Gimeno
902070d4d1
Add a label for push__oh_
2019-02-28 16:32:01 +01:00
Laurent Rineau
5376673151
Fix the testsuite of Arrangement_on_surface_2
2019-02-21 17:00:53 +01:00
Maxime Gimeno
13e7f7633c
Fix push__of_ in arrangement
2019-02-21 16:56:34 +01:00
Laurent Rineau
2ddee24f1a
Fix the dependencies
2019-02-21 16:09:42 +01:00
Laurent Rineau
1e17519384
Fixes
...
- The dependencies of push_of__ tests were not correct.
- Fix the handling of tests with .cin, when ssh/scp are used.
2019-02-21 15:49:48 +01:00
Maxime Gimeno
c01eddb62a
Remove unused LD_LIBRARY_PATH
2019-02-21 15:47:12 +01:00
Maxime Gimeno
a52f7198d2
WIP SSH
2019-02-20 16:46:28 +01:00
Laurent Rineau
02690350ee
Replace include(CTest) by minimal usage
...
- Define the option `BUILD_TESTING`
- Call to `enable_testing()` if `BUILD_TESTING` is on.
2019-02-04 15:30:24 +01:00
Laurent Rineau
c28c0a4b2d
Fix a bug with CTest in non-header-only
...
The pull-request https://github.com/CGAL/cgal/pull/3413 has introduced
a side-effect: CTest was broken when `CGAL_HEADER_ONLY=OFF`, for all
tests using a `.cin` or `.cmd` file. That is due to the variable
`CGAL_CURRENT_SOURCE_DIR` that was only filled by `UseCGAL.cmake`.
Now that we forbid CGAL directories without `CMakeLists.txt`, that
variable `CGAL_CURRENT_SOURCE_DIR` is now useless, and can be removed:
`CMAKE_CURRENT_SOURCE_DIR` is sufficient. That fixes the bug with
CTest, and also makes the CMake code a bit simpler.
2018-11-19 14:33:54 +01:00
Guillaume Damiand
ddd7f8fa3b
Add an option to disable viewer when running ctest.
2018-09-07 13:29:38 +02:00
Laurent Rineau
9c350f2c47
Fix CMake errors in CGAL demos, with CMake<3.4
2017-11-20 10:41:44 +01:00
Laurent Rineau
1dd41508fe
Fix the syntax error with CMake<=3.3
2017-11-17 11:33:56 +01:00
Laurent Rineau
21dabf1b1b
Add compilation tests for demos
2017-11-16 18:45:33 +01:00
Laurent Rineau
6804eadd98
Fill the CMAKE_CONFIGURE_DEPENDS directory property
...
... with each `.cin` and `.cmd` files that are used.
2017-11-15 18:55:25 +01:00
Laurent Rineau
6aae344f9c
Enable CTest from sub-directories of CGAL
2017-11-15 18:43:44 +01:00
Laurent Rineau
1d63eeb5dc
Add support for testing on Android
2017-11-14 10:39:35 +01:00
Laurent Rineau
260c4dac61
Fix the API of cgal_add_test
2017-11-03 15:05:35 +01:00
Laurent Rineau
252eb66dc2
Split cgal_add_test further, with the new cgal_setup_test_properties
2017-11-03 11:13:49 +01:00
Laurent Rineau
855d995e1e
Improvements
...
- split `cgal_add_test()` into `cgal_add_test()` and
`cgal_add_compilation_test()`
- `cgal_add_test()` have more parameters:
- an optional custom `TEST_NAME`,
- extra arguments to use for the test.
- Add CTest support for `test/Sweep_line_2/`
2017-11-03 09:34:55 +01:00
Laurent Rineau
633374027b
Do not run a test if the compilation failed
...
The test binary may have been compiled in a previous compilation.
But if the current compilation failed, do not run the test.
2017-10-26 19:50:40 +02:00
Laurent Rineau
6c24ed92e5
Deal with comments (`#`) in test/Set_movable_separability_2/*.cmd
2017-10-24 11:46:40 +02:00
Laurent Rineau
1fbdd79363
Avoid adding the same test twice
2017-10-23 16:10:06 +02:00
Laurent Rineau
45d60917e4
Use CMake 3.7 fixtures, to execute in a dedicated directory
2017-10-20 17:02:32 +02:00
Laurent Rineau
9a127c6f5d
Add CMake option CGAL_CTEST_DISPLAY_MEM_AND_TIME
...
"Display memory and real time usage at end of CTest test outputs"
2017-10-20 10:26:11 +02: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
Laurent Rineau
b4f3d79b9b
Make CTest build the targets
2017-06-09 16:50:06 +02:00
Laurent Rineau
038207bc15
Fix CTest
...
I broke the support for .cmd files in 3d36fe05b3 .
2016-09-30 19:46:58 +02:00
Laurent Rineau
3d36fe05b3
WIP: the Arr_2 testsuite is now working!!
2016-09-20 10:53:20 +02:00