Commit Graph

356 Commits

Author SHA1 Message Date
Eric Berberich 21af3a7322 added options 2011-04-26 09:10:17 +00:00
Eric Berberich a79ac57669 LAST 2011-04-26 09:02:38 +00:00
Eric Berberich 88071019f2 authors-file, skipFetch working, HEAD-revision 2011-04-26 08:33:58 +00:00
Eric Berberich 91e1deb5b2 added options 2011-04-26 08:18:17 +00:00
Eric Berberich ae2fd5f8f8 added initial version 2011-04-26 07:55:05 +00:00
Laurent Rineau 8fd77d212b Quote the script path, that can contain spaces. 2011-04-14 10:20:04 +00:00
Joachim Reichel 1560112ca7 Add script to check that the libraries can be built without using QPL'd files. 2011-03-10 20:42:43 +00:00
Laurent Rineau 9f1fd59afa Rename create_cgal_test_with_cmake to create_cgal_test
For the moment, it still creates file named "cgal_test_with_cmake"...
2011-03-03 15:48:55 +00:00
Laurent Rineau 728d10efc1 Cosmetic change 2011-03-03 15:45:55 +00:00
Laurent Rineau 5ae2f38ef5 This file now has a usage() function and complains against unknown command
line options
2011-03-03 15:45:36 +00:00
Laurent Rineau 9dc0e5715b Fix typo in the usage 2011-03-03 15:44:08 +00:00
Laurent Rineau 87e9facc98 cgal_test_with_cmake: display the error file at the end 2011-03-03 15:43:43 +00:00
Laurent Rineau d832c0bcac When SHOW_PROGRESS is non-null, the direction of localtestscript and
localbuildscript were wrong: the stderr output was not reported in the log
files.
2011-03-03 09:43:14 +00:00
Sébastien Loriot 017772877c do not catch CGAL_USER 2011-03-02 18:54:37 +00:00
Laurent Rineau f353d629ea Enhance the detection of compilation targets. The grep for main is not
sufficient. Use the fact that, in "make help", the target names have not
suffix, even on Windows.
2010-12-21 23:00:48 +00:00
Laurent Rineau d4029c2b0a Publish the demos tarball, if COLLECT_DEMOS_BINARIES is set. 2010-09-20 20:38:43 +00:00
Laurent Rineau b673e7dab6 Let this small script be executable 2010-09-15 13:55:30 +00:00
Laurent Rineau 2f702cdbf4 Add a script to create all zip files of demos, from test results. 2010-08-20 14:31:12 +00:00
Laurent Rineau f454eba61a Unless the -k option is used, the src/ directory is erased after the
compilation: it contains the build tree of CGAL libraries (that have been
copied in lib/). That saves a lot of space.
2010-07-07 16:00:13 +00:00
Laurent Rineau d659043fa2 Fix a typo, and make jom really work: we cannot specify targets that do not exist. 2010-06-23 11:12:32 +00:00
Laurent Rineau 09f3e63a51 Use JOM instead of NMAKE when possible.
http://labs.trolltech.com/blogs/2009/03/27/speeding-up-visual-c-qt-builds/
2010-06-23 10:46:45 +00:00
Laurent Rineau a12ef8ed3c Is that a typo?! The file should be writable, and not executable! 2010-06-23 08:52:41 +00:00
Laurent Rineau 0b4c4cf211 Well, lockfile is probably not what we want, but let's keep its use and
work-around its behavior: chmod u+x the created file.
2010-06-21 20:15:35 +00:00
Laurent Rineau cb510c9856 Cosmetic change: do not display the Date, and remove "revision", which is
already in the keyword substitution of $Revision$.
2010-06-18 08:50:09 +00:00
Laurent Rineau 9a9493322b Better using of svn keyword: autotest_cgal should announce its version (and
in the log file as well).
2010-06-18 08:38:43 +00:00
Laurent Rineau 1aa1d66cd9 Fix the use of $Id $ in a shell line 2010-06-18 08:15:11 +00:00
Laurent Rineau 39cfd48ebf Fix svn:keywords, and use it! 2010-06-18 08:14:07 +00:00
Laurent Rineau 034ced5cc3 Incorrect use of the function log(). 2010-06-17 09:39:06 +00:00
Laurent Rineau 680ae36873 More check of the lock file in autotest_cgal: the lock file will now
contain the PID of the running autotest_cgal process. That PID can be
checked and displayed if the lock cannot be acquired.
2010-06-17 09:33:00 +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
Sébastien Loriot 6ed72b9dba correct bug 2010-06-09 08:50:07 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
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 11d3a0655a Create CMakeLists.txt if it does not exist. 2010-03-11 09:43:46 +00:00
Laurent Rineau 1658badd6c Fix the way the version number is computed. Works now with -Ic- internal
releases.
2010-03-02 15:15:42 +00:00
Laurent Rineau c068360de7 Add newlines, to give a more readable result. 2010-02-26 11:48:00 +00:00
Laurent Rineau 9f2bd7d311 Improvements 2010-02-26 11:41:38 +00:00
Laurent Rineau c11d7f52f8 Add a new script to detect bad macros naming. 2010-02-26 11:18:34 +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 31ff303ac8 In create_new_release, if --do-it is used with --no-testsuite, display a
special message in the tag message log (to reassure everybody).
2010-02-02 14:32:40 +00:00
Laurent Rineau 01ec83fc8e Attempt with xz 2010-02-01 12:02:13 +00:00
Laurent Rineau a47f82c2d9 I forgot that line! 2010-01-31 13:33:23 +00:00
Laurent Rineau 185269032c Merged revisions 53906-53926,53928-53934 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53918 | lrineau | 2010-01-29 18:23:40 +0100 (Fri, 29 Jan 2010) | 12 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53910 | stayeb | 2010-01-29 16:33:26 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Lloyd_move.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_sizing_field.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Odt_move.h
    | 
    | Fix: ensure that no '0' is inserted in the sizing field.
    | ------------------------------------------------------------------------
........
  r53920 | lrineau | 2010-01-29 18:44:29 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fixes in a demo.
........
  r53924 | pmachado | 2010-01-29 20:48:24 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fix: pre-condition + case of three different spheres with 2 coincident
  radical planes (and the consequences).
........
  r53928 | lrineau | 2010-01-31 13:13:10 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  Add a precision that AK/RS is not available on Windows.
........
  r53930 | lrineau | 2010-01-31 13:39:12 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  NSIS installer for CGAL-3.6
........
  r53932 | lrineau | 2010-01-31 13:42:35 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  script_cgal.nsi is no longer named after a specific version.
........
2010-01-31 13:02:15 +00:00
Laurent Rineau 13c7bd1167 Add a comment for later 2009-12-04 17:26:07 +00:00
Laurent Rineau ea6f0bee11 Revert previous commit from Sylvain, because tar-1.15, which is installed
on cgal.geometryfactory.com (an updated CentOS-5.4), does not know
the option --exclude-vcs.
2009-12-04 17:24:29 +00:00
Sylvain Pion 6adc693ac3 Abstract away from SVN... 2009-12-04 17:10:00 +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 a8bcb00307 - Fix the LOG_CONFLICTS stuff.
- Add a macro CGAL_VERSION_STR in <CGAL/version.h>, which is equal to
  CGAL_VERSION, but tokenized as a string literal.
2009-11-18 15:01:08 +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
Stéphane Tayeb e63d9a3009 Fix script create_assertions.sh 2009-10-07 13:17:16 +00:00
Stéphane Tayeb 2d4992d432 Add a commentary in create_assertions.sh to explain why there is no protective macro. 2009-10-06 16:00:13 +00:00
Stéphane Tayeb 8dca39193a Fix script create_assertions.sh to remove a warning when gcc is called with -fasm-blocks option on MacOSX. 2009-10-06 15:43:51 +00:00
Laurent Saboret ba5baf1fe1 Fixed misspellings 2009-10-02 08:21:41 +00:00
Sylvain Pion a8f7b70dbe Remove obsolete variables for FTP configuration. 2009-09-20 11:12:05 +00:00
Laurent Rineau ab684bf200 Use "-Ic" instead of "-candidates-I" to signal that a release is made from
candidates
2009-09-04 09:24:55 +00:00
Laurent Rineau 97d5929802 - Remove all directories whose name begins with "bench" from the public
release (CGAL-3.5 is affected as well).
- Fix the removal of .scm-urls files
2009-09-03 23:47:45 +00:00
Laurent Rineau 9598042b56 Remove verbosity on old perl implementation. 2009-09-03 23:39:49 +00:00
Laurent Rineau e27878147b Special naming for releases with candidates 2009-09-03 23:17:19 +00:00
Laurent Rineau abe7e6212d Minor change of the usage() function of the script 2009-09-03 22:50:11 +00:00
Laurent Rineau b638f505ec Add the handling of candidate packages to create_new_releases also 2009-09-03 22:47:54 +00:00
Laurent Rineau 8ea5c53c08 Major changes:
=============
- Add an option '-c' that triggers the use of "candidate packages" that can
  be added to trunk, or overriding packages in trunk.
- Now the created releases have a file named .scm-urls in all
  directories. Those files list the SVN URL of the packages that were used
  to create the files in that directories (including sub-directories). In
  particular, the .scm-urls file of the root of the tarball lists all
  packages that were used.

Minor changes:
=============
- The script now runs with "use warning" without any warning. It really
  found errors, such as:
    - Fix $SIG{QUIT} -> $SIG{EXIT} (the former does not exists)
- Small simplification of the tar command line, now that the
  global_dont_submit file exists.
2009-09-03 22:33:11 +00:00
Laurent Rineau 17c952de04 - Remove the need for include_in_release
- I had to modify a bit the handling of tar files, because the script now
  has to deal with empty tar files.
2009-09-01 15:55:05 +00:00
Laurent Rineau eb48da7760 Make the release creation process create symlinks for the last release. 2009-07-29 14:14:14 +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 f04ce7f387 revert revision 50480 2009-07-09 14:37:18 +00:00
Laurent Rineau a8c87f9a79 Attempt to fix the Envelope_3_Demo problem. 2009-07-08 16:50:03 +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 46c3843237 Remove pre-CMake scripts. 2009-05-09 16:21:46 +00:00
Laurent Rineau 7e94196306 - Use printf instead of echo.
- Only check the existence of a release of same name if --do-it is used.
2009-04-14 09:00:28 +00:00
Laurent Rineau 5024821866 Add a check in the code create_new_release, to avoid overwriting a old
release.
2009-04-14 08:58:18 +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
Laurent Rineau c50131c8c9 Fix the compilation of the installation manual. Call cgal_manual in verbose mode. 2009-02-17 15:29:14 +00:00
Laurent Rineau 62ea46f98d Remove '\n' from VERSION file in internal releases. 2009-01-14 08:22:48 +00:00
Laurent Rineau d0f66de0ce Remove non-cmake old scripts 2008-12-22 14:18:52 +00:00
Laurent Rineau 870eae3556 Remove a minor bug (a sort of warning from the shell). 2008-12-18 22:48:27 +00:00
Laurent Rineau 9d3cdb5a50 Revert revision 47414, at least temporarily: if the VERSION file has a
end-of-line, then CMake scripts add a \n to CGAL_MINOR_VERSION! :-(
2008-12-17 09:25:19 +00:00
Laurent Rineau 1708dcf2ad Remove cgal_test *and* cgal_test_using_cmake. 2008-12-15 17:20:29 +00:00
Laurent Rineau 80cc2d1115 Minor: remove an empty-line 2008-12-15 16:27:41 +00:00
Laurent Rineau 1de4f63b5e The public releases now automatically includes
doc_html/installation_manual/.
2008-12-15 16:01:45 +00:00
Laurent Rineau f83377b858 - Add a new option --no-testsuite, to allows to make real internal releases
without triggering testsuites.
- Add support for NSIS under NSIS, so that the Windows installer is created
  by the release making process itself.
2008-12-15 15:34:19 +00:00
Laurent Rineau fee9f7a890 Add an end-on-line at the end of the VERSION file. 2008-12-12 14:12:57 +00:00
Laurent Rineau a8f81c5e2c Add a end-of-line at the end of the "VERSION" file. 2008-12-12 14:02:07 +00:00
Laurent Rineau bd66a53bf9 Update to the create_new_release script: add an option --tag, to create
internal releases but not publish them.
2008-12-10 11:15:05 +00:00
Laurent Rineau e51e116902 Remove <CGAL/Test/*> and <CGAL/Testsuite/*> headers from public releases. 2008-12-08 14:02:08 +00:00
Laurent Rineau 91841a4e95 Fix typo. 2008-12-08 11:56:50 +00:00
Laurent Rineau 21ddbbad38 New way to name internal releases and numbers 2008-12-08 10:57:58 +00:00
Laurent Rineau 17000a2347 Update check_licenses, so that it can be run with latest releases. 2008-12-08 09:56:35 +00:00
Laurent Rineau 817cc8a483 No longer create makefile and cgal_test files in examples/tests/demos. Fix create_internal_release. 2008-12-05 13:10:41 +00:00
Laurent Rineau 0b8119ce79 Al last, non buggy version. 2008-12-03 17:01:55 +00:00
Laurent Rineau 622d63fcb3 Another version of create_internal_release, so that it correctly deals with
dont_submit files and global_dont_submit.
2008-12-03 16:23:15 +00:00
Laurent Rineau b4a52dd9eb create_internal_release can now read a global dont_submit file. 2008-12-03 15:37:35 +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