Commit Graph

207 Commits

Author SHA1 Message Date
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
Laurent Rineau 7b885c20d1 Make run_testsuite_with_cmake and run_testsuite ignore icons/ and
resources/ (which are not directories that contain code).
2008-09-29 12:40:33 +00:00
Laurent Rineau c25131529f Fix blue result detection. 2008-09-28 10:58:18 +00:00
Laurent Rineau 4cf2aae190 Add a testresult 'r' (which will means "requirements not found (by
cmake)". The y/w/n triple will now be a quadruple y/w/n/r!
2008-09-25 13:35:03 +00:00
Fernando Cacciola 7f302699d8 Unfix the ordering of packages to test 2008-09-10 14:39:26 +00:00
Laurent Rineau 5c22a66393 Blacklist "icons/" and "resources/" in run_testsuite_with_cmake 2008-09-10 10:41:27 +00:00
Laurent Rineau fcdf5270c1 Rename:
- CGAL_IMAGEIO to CGAL_ImageIO, 
  - QT to Qt3,
and add Qt4.
2008-09-10 10:10:49 +00:00
Laurent Rineau dcd92fd502 Fix execution errors in collect_cgal_testresults_from_cmake 2008-09-10 09:10:03 +00:00
Laurent Rineau ed28e29e8c Previous commit was incomplete
("New attempt to catch runtime warnings. One need to grep in
ProgramOutput.*.* instead of ErrorOutput_*.")

Fix the regular expression. I hope all platforms will have a grep knowing
that syntax.
2008-09-08 08:59:30 +00:00
Laurent Rineau 784c192699 New attempt to catch runtime warnings. One need to grep in
ProgramOutput.*.* instead of ErrorOutput_*.
2008-09-08 08:43:34 +00:00
Fernando Cacciola 525d106447 Fixed processing order 2008-09-02 20:51:03 +00:00
Laurent Rineau 679f5a4e26 Correct quotation of the script.
Remove another -q.
2008-08-22 10:15:04 +00:00
Laurent Rineau 254d6856bf Attempt to debug the "grep" situation on Solaris. 2008-08-22 10:04:05 +00:00
Fernando Cacciola 0949438e32 Improved autotest_cgal_with_cmake/collect_cgal_testresults_from_cmake for multiple hosts and platforms 2008-08-13 22:21:38 +00:00
Laurent Rineau d3142b98c5 Attempt to fix the "grep problem" on Solaris. The script needs a POSIX
grep. On Solaris, POSIX tools are not in default PATH, for backward
compatibility with old versions of Solaris. Use getconf (a standard POSIX
tool) to find the POSIX path, then the POSIX grep.

That will probably need to be merged in
collect_cgal_testresults_with_cmake, if Michael Hoffmann switch to cmake.
2008-07-30 09:50:52 +00:00
Laurent Rineau 540b56f71d - Remove one uneeded "eval", and use "grep -q" instead of "grep >
/dev/null"
- Search "warning" also in "ErrorOutput_*", to detect runtime warnings.
2008-07-29 12:28:38 +00:00
Fernando Cacciola 5774e5468a Integrate main autotest logs with the results specific to the Installation package 2008-07-18 14:12:14 +00:00
Fernando Cacciola b2aedb0026 Improved error reporting and collection in a multiple hosts scenario 2008-07-17 15:17:00 +00:00
Fernando Cacciola 3300c20bd5 Moved main logs to Installation
Fixed parsing of 3rd-party library version numbers and compiler flags
2008-07-16 21:32:07 +00:00
Laurent Rineau 7b23151bc4 Improve testresults collection scripts, so that the dectection of
"warning"s has less false positive.
2008-07-03 07:57:59 +00:00
Fernando Cacciola 81e9aa62d7 Improved error reporting in autotesting 2008-06-29 22:06:36 +00:00
Fernando Cacciola 731f291bad Autotesting now using global reference release 2008-06-24 17:09:33 +00:00
Fernando Cacciola 9e71485564 Output all cmake logs, cache and setup script under libCGAL row 2008-06-13 20:55:52 +00:00
Fernando Cacciola ca9cc615e8 Force platform features check to be re-tested when running test-suite
Fixed syntax error in vc_debug_hook.h
2008-06-12 22:02:13 +00:00
Fernando Cacciola 01c01efa9c Allow enviroment variables for WITH_* to take precedence over the cache
Properly extract USING lines when reporting test results
2008-05-30 15:46:30 +00:00
Fernando Cacciola d16a973d53 Testresults: Extract and report GMP and MPFR version.
Testresults: Report flags
Testresults: Fixed libXYZ names and shared/static case
2008-05-19 16:31:32 +00:00
Fernando Cacciola 1e55343104 Autotest: Fixed parsing of installation results 2008-05-15 14:28:11 +00:00
Fernando Cacciola 00eb0889ca Parse build results from log file 2008-05-13 23:15:41 +00:00
Andreas Meyer 20315de571 * replaced CGAL_test_assert with ::assert, instead of CGAL_assertion
* removed include/Testsuite/assert.h
2008-03-19 13:45:36 +00:00
Fernando Cacciola 3ce8e5fb19 Added Visual C++ debug hook configuration 2008-03-17 18:34:41 +00:00
Michael Hemmer 7474f47add rm bug in CGAL_test_assert 2008-03-13 14:01:20 +00:00
Fernando Cacciola 45b476a299 Remove 'tee' redirection 2008-03-11 17:46:20 +00:00
Fernando Cacciola d26b432b19 Removed empty obsolete file 2008-03-10 15:54:34 +00:00
Fernando Cacciola 6c1f51ae28 (empty, replaced by proper .tex documentation) 2008-03-10 15:54:01 +00:00
Laurent Rineau 6fcaa33bf4 Wrong CGAL_DIR path, in the cmake version of collect_cgal_testresults. 2008-03-10 14:14:42 +00:00
Fernando Cacciola 69e8d74d6c autotest with cmake update 2008-03-06 16:50:44 +00:00
Fernando Cacciola a2642a2f34 autotest_cgal_with_cmake update 2008-03-05 20:42:26 +00:00
Sylvain Pion 9f5bad92a1 Remove my name from maintainer files where it does not resonnably make any sense anymore. 2008-01-19 14:29:27 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Sylvain Pion 2fadd669b1 Nef_3 takes a long time to test, so move N* to the beginning. 2007-08-19 23:16:36 +00:00
Sylvain Pion 4c3c4c01f1 test the S* first as they take much longer. 2007-06-12 20:29:41 +00:00
Sylvain Pion ca9e64f44e Split the tasks a bit more, for more parallelization :-) 2007-06-11 21:18:09 +00:00
Laurent Rineau cdec2c8eb7 Fix the autokill stuff in run_testsuite. 2007-03-19 16:48:26 +00:00
Sylvain Pion c4e92fcb55 New macro CGAL_USE(x) to help killing "unused variable" warnings. 2007-03-18 13:09:32 +00:00
Sylvain Pion f28e395b05 Avoid producing a "w" when the "-Wl,-read_only_relocs,warning" linker option is used
(I use it on Darwin).
2007-03-10 23:15:43 +00:00
Laurent Rineau 0fa2448c74 Fix incorrect use of echo. Use printf instead.
All lot of other uses of echo should be fixed.
Actually, "echo" should never be used to display a string that includes
some variables values!
2007-02-23 14:18:16 +00:00
Laurent Rineau 53d2c7ce8d - Attempt to fix the make detection on Solaris.
- Fix the Installation module of the testsuite: install.log is now shown entirely.
2007-02-16 18:04:57 +00:00
Laurent Rineau 3d5541ef61 Do not look for warnings if the results is "n" (which means "error"). 2007-02-14 16:58:03 +00:00
Laurent Rineau f07bd5e946 As for the test suite results, move the output of install.log to the
Installation package.
2007-02-13 18:45:24 +00:00
Laurent Rineau 677b560007 Add a line "install.log" to the test results. 2007-02-13 18:19:19 +00:00
Laurent Rineau 753f686a80 Test for warnings the libraries build logs too. 2007-02-13 13:59:56 +00:00
Laurent Rineau bea7da0780 Fix the testsuite outputs for libraries builds 2007-02-11 21:53:18 +00:00
Michael Hoffmann 06efa6ffab Remove -e option from grep because it doesn't work on Solaris. 2007-02-09 14:57:14 +00:00
Marc Glisse 7096ce117f Add + before command to parent make rules (make gmake aware that the
command will execute a submake, and avoid errors about jobserver).
2007-01-12 12:52:12 +00:00
Andreas Meyer 4ec2c7f37f testsuite webpage now has entries for libCGAL* 2007-01-11 22:32:08 +00:00
Andreas Meyer e9e8387260 merged changes from CGAL_with_EXACUS branch into trunk.
revisions used: 
(1) 32995:34537 
(2) 34538:34906
2006-10-24 15:21:25 +00:00
Sylvain Pion 14cbdd7b60 - Document CGAL_test_assert(). 2006-07-06 07:55:37 +00:00
Sylvain Pion ca022a173a - Add a new package "Testsuite" that gathers the test-suite infrastructure.
- Move Scripts/test/ there.
- Add <CGAL/Testsuite/assert.h> that defines a CGAL_test_assert() macro.
  (yet to be documented)
2006-07-06 07:47:54 +00:00