Commit Graph

66 Commits

Author SHA1 Message Date
Laurent Rineau a6c33fecf6 Epic fail! :-( 2010-05-06 08:09:11 +00:00
Laurent Rineau 5d98fe4ac0 Its time to remove _with_cmake from our scripts names. Keep the
*_with_cmake version for compatibility
2010-05-05 13:34:12 +00:00
Laurent Rineau de5cf96067 Change so that CGAL-3.7-I-123 is symlinked as CGAL-3.7-I and
CGAL-3.7-Ic-124 is symlinked as CGAL-3.7-Ic.
2010-05-03 15:03:31 +00:00
Laurent Rineau f1ea08f8d4 - Rework the way options are handled in that script (use case/esac instead
of a lot of if/fi).
- Allow to pass an URL to the script, to launch a specific testsuite from
  the URL of a tarball (without getting LATEST and so on).
2010-02-02 14:50:29 +00:00
Laurent Rineau 2cfd228ef6 Remove a useless 'cd' command in localtestscript: the target of the 'cd'
command is removed just after!
2009-11-19 13:01:00 +00:00
Laurent Rineau 6554b42606 Patch so that cmake has $PWD=CGAL-x.y-I-abc/cmake/platforms/..., instead of
CGAL-I/cmake/platforms/...

The consequence will be that $CGAL_DIR/CGALConfig.cmake will no longer
points to CGAL-I/... whatever version CGAL-I is.

(Patch tested locally. I hope that will no break the testsuite!)
2009-10-29 23:11:13 +00:00
Sylvain Pion a8f7b70dbe Remove obsolete variables for FTP configuration. 2009-09-20 11:12:05 +00:00
Laurent Rineau f673bc6e58 Attempt to collect precompiled Windows demos from the Windows Release
testsuites.
2009-07-23 14:17:42 +00:00
Laurent Rineau ac86e1b70a Revert previous commit: one cannot setup the trap before acquiring the
lockfile, because we do not want the trap to be launched if the acquirement
makes the script exit!
2009-07-20 09:46:05 +00:00
Laurent Rineau 90d0abd973 Fix the error trap, so that it is setup before acquiring the lockfile. 2009-07-20 09:43:17 +00:00
Laurent Rineau e05c535343 hack on Windows, where 'cp' does not copy the Windows ACLs 2009-07-07 11:20:57 +00:00
Laurent Rineau f4e9acb026 Move several log and log_done calls, so that the output is more clear. 2009-05-28 10:00:53 +00:00
Sylvain Pion 2907b46b13 Remove log messages when using "-n". 2009-04-02 11:07:21 +00:00
Laurent Saboret 7815f845e0 Create CGAL-3.x-I symlink (as autotest_cgal used to do) 2009-03-30 16:00:20 +00:00
Laurent Rineau 614d1869ae Do not remove the lockfile if one fails to acquire it! 2009-03-18 08:58:06 +00:00
Fernando Cacciola fd1301b7c0 Replaced hardcoded CMAKE_VERBOSE_MAKEFILE with make VERBOSE=ON in the testsuite 2009-03-10 18:28:56 +00:00
Fernando Cacciola 911ef1d18a Fix to create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 18:28:46 +00:00
Fernando Cacciola 593e473390 Create CGAL_DIR/cmake/platforms which is no longer in the tarball 2008-11-04 17:57:43 +00:00
Laurent Rineau 9436938680 Minor improvement in localtestscript-redo-results-collection 2008-10-17 08:49:24 +00:00
Laurent Rineau 5be30c1228 Fix testsuites about Core. 2008-10-03 08:47:14 +00:00
Laurent Rineau 3be382a3a6 Bug fix: results were incorrectly collected and published twice: once just
after the libraries compilation, and once after the tests suite has run.
2008-10-02 07:42:33 +00:00
Laurent Rineau 2e5889e7a9 Allow to relaunch the "end" of the testsuite: results collection, and
results re-submission.
2008-09-26 10:23:34 +00:00
Fernando Cacciola 7e5bebf12b Run per-host test on background rather than per host+platform 2008-09-18 18:29:51 +00:00
Fernando Cacciola 73101b5465 Removed TESTSUITE_* flags 2008-09-17 18:53:08 +00:00
Fernando Cacciola 7630512654 Added warning about deprecated use of TESTSUITE_* environment variables (before effective removal) 2008-09-16 18:43:00 +00:00
Fernando Cacciola e0bb152d63 Prevented a failed library to abort compilation of the others 2008-09-16 18:32:03 +00:00
Laurent Rineau d5d232705f Replace echo -n with printf. 2008-09-12 12:50:02 +00:00
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 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
Fernando Cacciola 161254324b Added package filter 2008-09-01 21:16:41 +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
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
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
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 c61079a997 Use TESTSUITE_CXXFLAGS/LDFLAGS when building the library (as the tests do) 2008-06-13 20:54:48 +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