Commit Graph

202 Commits

Author SHA1 Message Date
Laurent Rineau bf796f710d Let testers define flags for release and debug modes if they want (and I
want).
2008-09-08 15:58:21 +00:00
Laurent Rineau 3f23b72e45 Force LC_ALL and LANG to "C", so that the test results are in english and
nothing else.
2008-09-08 15:47:51 +00:00
Laurent Rineau 54493b233b Force LC_ALL and LANG to "C", so that the test results are in english and
nothing else.
2008-09-08 09:44:12 +00:00
Laurent Rineau 3992f06543 - Add a flag -k that prevent autotest_cgal_with_cmake to remove local test
directory.
- Fix the flag -s (show progress), so that it also show the results of the
  local build script.
2008-09-08 09:29:31 +00:00
Laurent Rineau da490ca698 Partially revert revision 45319. The follwing has been revert:
"Use unique names for example, demo and test targets"
2008-09-05 12:16:37 +00:00
Laurent Rineau ad8cfc972b revert revision 45327: "Remove submitted makefiles (cmake overrides them)." because it is unneeded. 2008-09-05 08:51:49 +00:00
Laurent Rineau 7d9c7599b3 Remove submitted makefiles (cmake overrides them). 2008-09-05 08:46:05 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola ee6fae2991 Added separation in components 2008-09-03 16:55:21 +00:00
Fernando Cacciola 161254324b Added package filter 2008-09-01 21:16:41 +00:00
Fernando Cacciola 41251065c2 Fix pending problems with examples and demos (now possible to do 'make examples' or 'make demo' from CGAL_DIR) 2008-08-27 16:24:01 +00:00
Sylvain Pion 587ca0290b Add --no-verbose option to wget to make it less verbose (remove progress bar). 2008-08-22 08:31:25 +00:00
Laurent Rineau 30d9bd5b9b To be coherent with next line: one cannot say "REMOVING LOCAL_TEST_DIR" and
not do it.
2008-08-21 09:24:02 +00:00
Laurent Rineau 6e199ed734 - Make CGALimageIO compile at once (and not in two compilation units).
- Add $URL$ and $Id$ at some places.
2008-08-21 09:22:39 +00:00
Laurent Rineau cfae52022b Make ${CGAL_TESTER} appear in the name of the test results file that is
uploaded to the testsuite collection machine.
2008-08-20 09:47:49 +00:00
Sylvain Pion 60a380e2f4 Remove the "v" verbose option to tar, as it obscures the useful info
in the logs for not much gain, I think.
2008-08-19 09:43:46 +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
Sylvain Pion ddbb01157f Updates after the removal of changes.txt files. 2008-07-24 18:27:12 +00:00
Sylvain Pion dc3bf72707 Remove changes.txt files. 2008-07-24 17:47:16 +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 2902a241f9 Allow MYSHELL to be missing from .autocgalrc since when unsued testers just set it to "" 2008-07-16 21:30:29 +00:00
Sylvain Pion 2eb0d8f9e9 certainly() -> possibly(). 2008-07-14 11:16:41 +00:00
Sylvain Pion 9d7a609ff2 Make assertions trigger an error only for *certain* conditions (using CGAL::certainly()).
This is useful for interval arithmetic code.
(replay of r44002 with the header order hopefully fixed)
2008-07-10 21:49:17 +00:00
Laurent Rineau dbee2e2f50 Add a "trap" command so that the script erases its lock file even if it
exists prematurely.
2008-07-07 09:16:03 +00:00
Sylvain Pion 2b4ebf01f7 Undo r44002 as it's buggy 2008-07-06 20:47:29 +00:00
Sylvain Pion 514a17ad4f Improve the interaction of assertions and interval computations.
Things like "CGAL_assertion(denominator != 0)" produced assertion failures for no gain.
So now, the assertion is triggered only if the condition is certain, using CGAL::certainly().
That is, change the following in all assertion files :
  ((EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
to :
  (CGAL::certainly(EX)?(static_cast<void>(0)): ::CGAL::assertion_fail( # EX , __FILE__, __LINE__))
2008-07-06 17:05:47 +00:00
Fernando Cacciola 81e9aa62d7 Improved error reporting in autotesting 2008-06-29 22:06:36 +00:00
Fernando Cacciola 9c62ababa9 Add CMAKE_MINIMUM_REQUIRED at the top of each CMakeLists.txt as CMake 2.6 wants 2008-06-29 20:46:44 +00:00
Fernando Cacciola 731f291bad Autotesting now using global reference release 2008-06-24 17:09:33 +00:00
Joachim Reichel ac4bcfe9ee fix bashisms (use printf instead of echo) 2008-06-18 16:07:17 +00:00
Laurent Saboret ee1222919b Fixed CMake error on Surface_reconstruction_3/demo/Surface_reconstruction_3/ (empty folder) 2008-06-18 14:28:53 +00:00
Laurent Rineau 3235718ea0 Fix the release creation process. The previous version of
create_internal_release sometimes called cgal_create_cmake_scripts
with an empty argument.
2008-06-16 09:07:04 +00:00
Fernando Cacciola c61079a997 Use TESTSUITE_CXXFLAGS/LDFLAGS when building the library (as the tests do) 2008-06-13 20:54:48 +00:00
Laurent Rineau d454027d30 Fix the script cgal_create_cmake_script:
- one can use it with 0 or 1 argument.
  - If one argument is used, it *must* be "-q" and nothing else.
2008-06-13 08:44:43 +00:00
Fernando Cacciola fea6aeab4d Allow CMAKE_BUILD_TYPE to be determined bsaed on CGALConfig.cmake 2008-06-06 16:09:39 +00:00
Fernando Cacciola 5fd281906f Pass TESTSUITE flags in the right place 2008-06-04 17:03:51 +00:00
Fernando Cacciola 68351644e0 Fixed release string replacement in CMakeCache.txt 2008-05-29 16:33:22 +00:00
Fernando Cacciola 94654eacf3 Fixed DOT_NOT_TEST usage 2008-05-27 16:03:39 +00:00
Laurent Rineau a2f221b666 Fix the quotation in Fernando's modifications.
In a command like:
  mv $SOURCE $TARGET
the two arguments must be doublely quoted:
  mv "$SOURCE" "$TARGET"
That way, if $SOURCE is, for ex., "my file", it avoid the shell to call a
command like that:
  mv my file "$TARGET"
which is moving *two* files "my" and "file" to "$TARGET". With the
double-quotes, after the parameters substitution, the call is correct, with
only two arguments:
  mv "my file" "target"
2008-05-15 15:08:03 +00:00
Fernando Cacciola 1e55343104 Autotest: Fixed parsing of installation results 2008-05-15 14:28:11 +00:00
Laurent Rineau 1776707d3f Commit of old modifications (that are used on cgal.geometryfactory.com for
several monthes). Those modifications should not bother other cgal testers.

Details:
- New flag "-n", to build internal releases without launching the
  testsuite.
- Read "$HOME/.autocgal_with_cmake_rc" if it exists, instead of
  "$HOME/.autocgalrc" (which is only read it the previous one does not
  exist.
- Call cmake in verbose mode.
- Add quotes ("...") where needed (that is almost everywhere). That allows
filenames/dirnames with characteres that are special for the shell (such as
spaces).
- Change of the portion of shell code that modifies the occurences to
CGAL-3.x-I-xxx in CMakeCache.txt. I no longer understand the regexpr but I
know that it works (at least on cgal.geometryfactory.com).
- Move the section named "START OF MAIN BODY" to the real main body (after
all function definitions).
- That's all.
2008-05-15 12:43:21 +00:00
Fernando Cacciola b7ced7de9f Force 'make' to keep going in spite of errors (the testuite will detect the error nevertheless but will provide more information) 2008-05-13 23:21:05 +00:00
Fernando Cacciola 7fceed9683 Fixed cgal_test_with_cmake generation so it can be called indepedently of the test suite 2008-05-13 23:19:06 +00:00
Fernando Cacciola 6bae257648 Added project() command 2008-05-13 23:16:27 +00:00
Fernando Cacciola 033aeefc0d Print out folder names 2008-05-07 16:02:13 +00:00
Fernando Cacciola 1d136115e1 CMakeLists.txt are now auto-generated by create_internal_release 2008-05-05 15:09:28 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Laurent Saboret 407d895703 Fixed bash error when folder is empty 2008-03-26 15:05:26 +00:00
Fernando Cacciola f2925cfeca Workaround a problem with a clean target under cygwin+nmake 2008-03-20 19:12:21 +00:00