Commit Graph

207 Commits

Author SHA1 Message Date
Sebastien Loriot f00ff2dc6c
Merge pull request #5628 from maxGimeno/Testsuite-Fix_for_windows-maxGimeno
Testsuite: Fix release creation scripts for windows
2021-04-21 15:45:11 +02:00
Laurent Rineau 04bdd14821 Merge pull request #4649 from sloriot/CGAL-no_third_party_warnings
Try to filter out warnings not in CGAL
2021-04-20 09:50:14 +02:00
Maxime Gimeno 657ba50904 - call bash instead of only the script
Don't try to test skipped packages in run_testsuite_with_cmake
2021-04-19 09:03:20 +02:00
Sébastien Loriot a5cb648a99 add an expression to grep 2021-04-16 11:55:02 +02:00
Sebastien Loriot 7611a0bdfc
Merge branch '5.1.x-branch' into CGAL-no_third_party_warnings 2021-04-15 14:02:16 +02:00
Sébastien Loriot b6e8e41404 add a fourth category of result 2021-04-15 13:58:24 +02:00
Laurent Rineau 8fc88a9463 Merge pull request #5409 from lrineau/Triangulation_3-fix__move__semantic__of__Triangulation_hierarchy_3-GF
Fix the move-semantic of Triangulation_hierarchy_3
2021-02-18 15:19:11 +01:00
Laurent Rineau cbc73a8fc4 Add the testsuite for Triangulation_2, factorize it with T_3
I have added the file
`Testsuite/include/CGAL/Testsuite/Triangulation_23/test_move_semantic.h`
so that is can be reused in the tests for `Triangulation_2` and
`Triangulation_3`.

So far, the tests in `test_delaunay_hierarchy_2.cpp` fail...
2021-02-03 15:52:55 +01:00
Maxime Gimeno 426b216340 disable the parsing of CGAL libs, as there is none anymore. 2021-01-20 15:55:25 +01:00
Maxime Gimeno 24559f0127 Filter labels in results collection 2020-10-28 10:42:39 +01:00
Laurent Rineau 98018f1af3 Merge pull request #4793 from lrineau/Testsuite-rework_the_timeout_of_run_testsuite-GF
Testsuite rework the timeout of run_testsuite
2020-06-23 18:48:00 +02:00
Laurent Rineau a1ea396196 Patch for MacOS
https://stackoverflow.com/a/21118126/1728537

> You can use
>
>     brew install coreutils
>
> And then whenever you need timeout, use
>
>     gtimeout
2020-06-17 12:38:59 +02:00
Laurent Rineau 7c8bb622a7 Whitespace fixes 2020-06-17 12:35:42 +02:00
Laurent Rineau 3468c7bf32 Use `timeout` if available, instead of a system of sleep/kill
The GNU coreutils software
[timeout](https://man7.org/linux/man-pages/man1/timeout.1.html) is
a perfect replacement for our buggy function `wait_for_process`.

This patch uses it when available. On Linux, brew, Cygwin, it is
available in the `coreutils` package.
2020-06-17 12:31:36 +02:00
Sébastien Loriot 54f766f1d3 do no filter out cmake warnings 2020-05-07 12:45:37 +02:00
Sébastien Loriot 0e4c4ffdb6 better filter 2020-04-15 15:31:32 +02:00
Sébastien Loriot 2746dd7dbe try to filter out warning not in CGAL 2020-04-14 14:17:31 +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 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Sébastien Loriot 52164b1fba First pass on removing license notice in header for LGPL files 2019-10-19 15:40:30 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Maxime Gimeno 52bbbbddd7 Add a warning about the Polyhedron_demo_dir in the doc 2019-06-07 12:44:31 +02:00
Maxime Gimeno f3076fa933 Merge implicit_functions in Polyhedron_Demo 2019-04-30 13:24:03 +02:00
Maxime Gimeno 61a9c78036 Rename scripts 2019-04-29 15:38:44 +02:00
Maxime Gimeno 6b9e918cc1 Filter "incomplete" so it is not considered as a package 2019-04-26 10:38:24 +02:00
Maxime Gimeno 5b03adfbb7 also add it to the "r" reports 2019-04-25 11:04:27 +02:00
Maxime Gimeno 00c0e4e85a Add scm-branch content to reports. 2019-04-25 10:30:18 +02:00
Maxime Gimeno a171be76a4 Fix names of libCGAL_XXX_shared 2019-04-12 12:16:20 +02:00
Maxime Gimeno 591a25ec1b Fix 'r' writing in the end of the process. 2019-04-09 09:47:05 +02:00
Maxime Gimeno 9ae753c216 Fix cmake warning about CGAL_ROOT and add cmake results in the end of the "not ignored tests" reports 2019-04-04 12:44:57 +02:00
Maxime Gimeno 31ba24e102 Add cmake output everywhere 2019-04-04 10:39:18 +02:00
Maxime Gimeno e0e18b35b5 Add a script to get back the information from the untested packages and put back the blue squre. 2019-04-03 15:08:41 +02:00
Maxime Gimeno c13db7254d Add execution time and exit value to error.txt 2019-03-22 11:33:59 +01:00
Maxime Gimeno e9310c2597 Fix encoding in python script 2019-03-20 11:21:30 +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 783d4a7188 Fix python script 2019-02-27 16:04:12 +01:00
Laurent Rineau 8852f65bc3 WIP: handle the gzip compression and base64 encoding 2019-02-27 15:11:51 +01:00
Maxime Gimeno a85c1f0ac4 update python script 2019-02-27 15:07:31 +01:00
Laurent Rineau 637bf71645 Merge pull request #2828 from lrineau/CGAL-fix_various_issues-GF
fix various minor issues
2018-02-19 14:27:16 +01:00
Laurent Rineau 02540257cf fixup! Remove CMake Warning about /usr/share/cmake/Modules/FindBoost
My previous commit was... well... stupid!
2018-02-14 10:14:48 +01:00
Laurent Rineau 7ee11b7afc Remove CMake Warning about /usr/share/cmake/Modules/FindBoost
Those warnings are annoying because:
  - they happen on Linux rolling releases as soon as Boost version is more
    recent than CMake version,
  - we cannot do anything about them.

Example:
```
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:801 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindBoost.cmake:907 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake/Modules/FindBoost.cmake:1542 (_Boost_MISSING_DEPENDENCIES)
  /mnt/testsuite/cmake/modules/CGAL_Macros.cmake:293 (find_package)
  /mnt/testsuite/cmake/modules/UseCGAL.cmake:46 (use_component)
  CMakeLists.txt:13 (include)
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.12-Ic-173/Algebraic_foundations/TestReport_gimeno_Fedora-rawhide-Release.gz
2018-02-13 16:02:09 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Laurent Rineau bec5f9aae1 Cosmetic change of the message of the signal handler on Windows 2017-11-23 17:06:46 +01:00
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Laurent Rineau 2df374c2c3 Remove debug line 2017-10-27 09:22:49 +02:00
Laurent Rineau 9515e1261e Push my work in progress 2017-10-26 19:50:41 +02:00
Laurent Rineau 5d6264fdbb Handle strange cases with no labels 2017-10-20 17:04:45 +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
Maxime Gimeno c99cd608aa Rename TIMEOUT and limit it to 2400 2017-06-01 16:32:09 +02:00
Maxime Gimeno b7225bbf07 Increase timeout for polyhedron_demo 2017-06-01 12:05:19 +02:00
Sébastien Loriot eb4f860f3b remove mentions of Qt3 2015-10-05 15:19:58 +02:00
Laurent Rineau 93fb88b499 Display Qt5 version in testsuite result pages 2015-08-03 13:09:44 +02:00
Laurent Rineau 563ee0920c Remove useless files
Approved by the Release Manager.
2014-12-03 12:58:37 +01:00
Laurent Rineau 84fcae4788 Workaround the incompatibility with Boost 1.54 2014-07-11 12:04:42 +02:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Laurent Rineau b62ef22288 *Really* fix the display of the scm branch in test results
I should have tried the patch locally!
2012-12-12 11:52:35 +01:00
Laurent Rineau df833d2fae Fix the display of the SCM branch in test results 2012-12-12 11:27:37 +01:00
Laurent Rineau 14221e947f Display the branch name in all test result pages 2012-11-15 16:32:22 +01:00
Eric Berberich 14970d909f if a library is not configured, there should not be an error 2012-10-10 14:50:53 +00:00
Laurent Rineau 90414d195f Move <CGAL/Testsuite/use.h> to <CGAL/use.h> (in the Installation package)
That is a followup to the following commit:
  | ------------------------------------------------------------------------
  | r71090 | pmoeller | 2012-08-07 13:04:32 +0200 (Tue, 07 Aug 2012) | 6 lines
  | Changed paths:
  |    M /branches/next/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h
  |    M /branches/next/Circulator/include/CGAL/circulator.h
  |    M /branches/next/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Reflex_vertex_searcher.h
  |    M /branches/next/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp
  |    M /branches/next/Kernel_d/include/CGAL/Cartesian_d.h
  |    M /branches/next/Mesh_3/include/CGAL/IO/File_medit.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_edge_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/make_mesh_3.h
  |    M /branches/next/Nef_2/include/CGAL/Bounded_kernel.h
  |    M /branches/next/Nef_2/include/CGAL/Nef_polyhedron_2.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/ID_support_handler.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/Infimaximal_box.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/vertex_cycle_to_nef_3.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_polyhedron_3.h
  |    M /branches/next/Nef_3/test/Nef_3/nef_union_error_llvm.cpp
  |    M /branches/next/Nef_S2/include/CGAL/Nef_S2/SM_overlayer.h
  |    M /branches/next/OpenNL/include/CGAL/OpenNL/blas.h
  |    M /branches/next/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3.h
  |    M /branches/next/Point_set_processing_3/include/CGAL/mst_orient_normals.h
  |    M /branches/next/QP_solver/include/CGAL/QP_solver/QP_functions_impl.h
  |    M /branches/next/STL_Extension/include/CGAL/iterator.h
  |    M /branches/next/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_simple_site_2.h
  |    M /branches/next/Subdivision_method_3/include/CGAL/Polyhedron_decorator_3.h
  |    M /branches/next/Subdivision_method_3/include/CGAL/Subdivision_mask_3.h
  |    M /branches/next/Surface_mesher/include/CGAL/Surface_mesh_default_criteria_3.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Adaptation_traits_functors.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_inserters.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_removers.h
  | 
  | WARNFIX: Silence a good part of unused variable/parameter warnings.
  | 
  | Wextra results in a dreadful wall of yellow in the test-suite and is
  | scary when using CGAL. Reduce some of the noise by silencing the
  | obvious cases with CGAL_USE or comments.
  | 
  | ------------------------------------------------------------------------

The reason is that everything from CGAL/Testsuite/ is removed in public
releases (that was discussed at a CGAL developers meetings, long ago). That
means that r71090 introduced compilation errors undetectable by the tests
of internal releases. I hope that the minutes of that developers meeting
say that I was against the removal of headers between internal and public
releases!  -- Laurent Rineau
2012-08-09 15:34:08 +00:00
Eric Berberich bdc9546907 comment matches code 2012-08-04 22:37:44 +00:00
Eric Berberich ba023dbef2 fix order 2012-08-03 18:04:59 +00:00
Laurent Rineau 70462d902b merge changes from next 2012-06-27 17:04:41 +00:00
Laurent Rineau 32572f889a Fix the current compilation issue on Windows: unset MAKEFLAGS 2012-01-20 16:25:45 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Laurent Rineau cc0c27f3ed DLLs now may be in $CGAL_DIR/bin 2011-10-18 08:23:57 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Laurent Rineau 2735ec1571 Initial attempt to allow to run the testsuite with a branch build 2011-10-07 13:42:37 +00:00
Laurent Rineau ed773cba03 On Windows, add $CGAL_DIR/lib to the PATH, if case CGAL is build as DLLs. 2011-10-07 13:41:58 +00:00
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri 3fc8ab8767 Add a file with the copyright holder(s) to the package_info 2011-09-30 07:41:40 +00:00
Marc Glisse a1eaedf34a parallel makefile2 for the testsuite 2011-02-23 17:54:29 +00:00
Laurent Rineau 23cd9466e8 Change the way things are represented in the test report file. 2010-12-02 09:58:18 +00:00
Laurent Rineau f68b85317c Do include the content of .scm-urls in the error report! 2010-12-01 11:03:22 +00:00
Laurent Rineau a165f18a8d Display the SCM urls of the test files in the error report. 2010-12-01 11:00:14 +00:00
Laurent Rineau 2bfa7effb8 First part of a timing feature of the testsuite: the duration of each
cgal_test_with_cmake will be measured and stored in a file, collected by
collect_cgal_testresults_from_cmake

The next part is about how to display those timings in the tests results
pages.
2010-09-15 09:54:54 +00:00
Laurent Rineau b6bb5f9b12 Quote a lot of variables. I may have forgot some. 2010-09-15 09:26:29 +00:00
Laurent Rineau 4d254772fb Tweak the regular expression that matches warnings. 2010-09-01 12:26:27 +00:00
Laurent Rineau 7775c1a323 Revert part of previous commit (mistake). 2010-08-30 17:12:13 +00:00
Laurent Rineau 3c13bf6a4f A testsuite that will really kill cgal_test processes that take too long 2010-08-30 17:03:19 +00:00
Laurent Rineau e783230ad7 More robust shell script: protect variables that contain filenames,
with double quotes.
2010-08-30 13:10:06 +00:00
Laurent Rineau 58c914e064 cgal_test file that shows that ulimit -t is not working on Cygwin. :-( 2010-08-30 13:02:59 +00:00
Laurent Rineau 530f6e61a7 Submit test/Testsuite/, to help debug the Windows testsuite.
test/Testsuite is in dont_submit for the moment.
2010-08-30 12:02:07 +00:00
Sébastien Loriot d72337785c remove dependance on CGAL_PDB: merge from the branche created for that purpose
I do not remove the directory CGAL_PDB as I am allowed to use svn remove.
2010-06-10 17:26:38 +00:00
Laurent Rineau 47d341c68d Merged revisions 56348,56367-56368 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56348 | penarand | 2010-05-19 17:35:05 +0200 (Wed, 19 May 2010) | 3 lines
  
  added interoperability Gmpq-double
........
  r56367 | penarand | 2010-05-20 10:04:12 +0200 (Thu, 20 May 2010) | 4 lines
  
  eliminated 'const' keyword from comparison operators Gmpq-double and added
  a simple test in Gmpq.cpp
........
  r56368 | lrineau | 2010-05-20 10:40:55 +0200 (Thu, 20 May 2010) | 3 lines
  
  Avoid to put a 'w' in the testsuite for a message that speaks about
  QMessageBox::warning.
........
2010-05-20 08:45:42 +00:00
Laurent Rineau 6c9d556a14 Change the regex so that it matches sentences like "NOTICE: Some of the
executables in this directory need the TAUCS library and will not be
compiled." or "This demo needs the CGAL ImageIO library, and will not be
compiled."
2009-11-26 09:38:41 +00:00
Laurent Rineau c8dc429a8f Revert revision 49099: I had not well understood what was a processes group
at that time.
2009-11-17 18:19:51 +00:00
Sylvain Pion 8573fe26ce Rename CGALi to internal. 2009-08-24 17:10:04 +00:00
Sylvain Pion 289754c46c Remove pre-CMake scripts. 2009-05-09 16:35:14 +00:00
Laurent Rineau 03c0ce5e68 Once the timeout is reach, kill -KILL the whole process group, instead of
just the group leader (in case a process catches SIGHUP).
2009-05-04 11:22:42 +00:00
Laurent Rineau 34331f5394 Revert last change. "time" is documented to always return 0 as exit code. :-( 2008-12-01 11:28:15 +00:00
Laurent Rineau 56c9ce1b67 Run cgal_test_with_cmake under "time", so that we can see the running time. 2008-12-01 11:22:29 +00:00
Laurent Rineau a666457d7c Fix retrieval of CGAL_Core compilation log for test results. 2008-10-14 07:48:57 +00:00