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__))
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"
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.
- New option --do-not-tag that allows to using the script with --do-it
without creating the tag.
- The script no longer sends emails for a long time. Update the usage
text and remove the no longer used variable MAILTO.
- The script now reads a configuration file, named
$HOME/.cgal_create_new_release_rc
For example, mine contains:
TMPDIR=$HOME/CGAL/create_internal_release
HTML_DIR=/var/CGAL/www/Members/Releases
- The script now uses and absolute path for SOURCES_DIR.
- If the file ${VERSION_FILE} (aka "version_number") is not present,
use svn to compute a new release number.
Tar::Archive
Tar::Archive::File
File::Copy
File::Copy::Recursive
- Conflicts between two CGAL packages (two files with same names) are
now checked (using CPAN packages "Archive::Tar" and
"Archive::Tar::File" and a hash table of all files).
- Use the -C option of GNU/tar, instead of several 'mv' and 'cp -r'.
- Use commands 'move' and 'dircopy' from File::Copy and
File::Copy::Recursive, instead of using system with 'mv' and 'cp -r'.