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
Fernando Cacciola
593e473390
Create CGAL_DIR/cmake/platforms which is no longer in the tarball
2008-11-04 17:57:43 +00:00
Fernando Cacciola
0046cc19df
Removed uneeded set of CMAKE_BUILD_TYPE
2008-11-04 13:11:01 +00:00
Fernando Cacciola
d70bdaea18
Prefixed cmake variables with CGAL_
2008-10-23 14:59:02 +00:00
Laurent Rineau
c97eaa2f0e
When where are in a demo/ sub-directory, call cgal_test_with_cmake with "--no-run".
2008-10-21 09:01:47 +00:00
Laurent Rineau
9436938680
Minor improvement in localtestscript-redo-results-collection
2008-10-17 08:49:24 +00:00
Laurent Rineau
275d408829
Rename to cgal_build.
2008-10-14 13:46:34 +00:00
Laurent Rineau
dc22e7f287
Little update: allow to call a specific target.
2008-10-14 13:45:27 +00:00
Joachim Reichel
30282685d4
omit file extensions without any hits
2008-10-12 14:02:09 +00:00
Laurent Rineau
8e2ce1e7ca
Add support for USE_LATEST_UNZIPPED in autotest_cgal
...
That was already in autotest_cgal_using_cmake
2008-10-07 14:00:36 +00:00
Laurent Rineau
36567b77e8
Add a "do what i mean" script, to replace the following steps:
...
- create a default CMakeLists.txt with cgal_create_cmake_script,
- call "cmake ." (it will work only if CGAL_DIR is defined in the
environment),
- call "make -f Makefile" (-f Makefile is needed if an old file
"makefile" is here).
2008-10-03 13:47:11 +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
bc66de2b4c
Fix to avoid warnings about a "broken pipe".
2008-09-29 14:16:45 +00:00
Laurent Rineau
54a1337d49
- Followup to r45799: "Tricks with file descriptors, so that I can receive
...
by email (sended by crond) the warnings about conflicting files."
- Copy demo/icons and demo/resources in test/ (during internal release
creation), so that demos can find the resources.
2008-09-29 12:35:57 +00:00
Laurent Rineau
8a09fdabdf
Tricks with file descriptors, so that I can receive by email (sended by
...
crond) the warnings about conflicting files.
2008-09-26 10:24:43 +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
Laurent Rineau
fa7036293a
Improve generated scripts cgal_test_with_cmake:
...
- Do not try to compile targets that have not been configured. Hopefully
cmake gives us "make help".
- Do not try to clean if nothing has been built.
2008-09-25 09:14:47 +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
14db4fe00c
Blacklist "icons" and "resources" in create_internal_release, so that
...
icons/ and resources/ do not get makefile, cgal_test, cgal_test_with_cmake
and CMakeLists.txt
2008-09-10 13:13:28 +00:00
Laurent Rineau
984ed953ac
Fix revision 45484: the if branch was never reached because i was using an
...
incorrect syntax to check the equality of two string.
Revision 45484 was:
"Mix my previous commit (revision 45481): that script is perl, and not sh!"
Revision 45481 was:
"Blacklist "icons" and "resources" in create_internal_release, so that
icons_Demos and resources_Demos are not created in internal releases."
2008-09-10 11:58:41 +00:00
Laurent Rineau
b88c403c13
Typo
2008-09-10 11:22:08 +00:00
Laurent Rineau
dfd7e8e44c
Mix my previous commit (revision 45481): that script is perl, and not sh!
2008-09-10 11:20:22 +00:00
Sylvain Pion
94d81bcfd5
Add cgal_test script that avoids the need to manually call create_cgal_test.
...
Same for Cmake.
2008-09-10 10:54:06 +00:00
Laurent Rineau
1be2c0b381
Blacklist "icons" and "resources" in create_internal_release, so that
...
icons_Demos and resources_Demos are not created in internal releases.
2008-09-10 10:44:21 +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
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
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
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
Sylvain Pion
ddbb01157f
Updates after the removal of changes.txt files.
2008-07-24 18:27:12 +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
731f291bad
Autotesting now using global reference release
2008-06-24 17:09:33 +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
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
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
Fernando Cacciola
4b3a56a39d
Pass CGAL_DIR as a cmake variable to get CMake properly find CGALConfig.cmake
2008-03-18 23:43:26 +00:00
Fernando Cacciola
3de724258e
Convert cygwin path to windows path for CGAL_DIR to get CMake to properly find CGALConfig.cmake
2008-03-18 23:42:39 +00:00
Fernando Cacciola
6df1e6cb5f
Create local build and test scripts prepending a user-defined setup script to allow platform-specific environment configuration
2008-03-18 16:44:10 +00:00
Fernando Cacciola
3ce8e5fb19
Added Visual C++ debug hook configuration
2008-03-17 18:34:41 +00:00
Fernando Cacciola
4d995d8280
cygwin fixes
...
fixed adaptive copying of previous configuration settings
2008-03-14 12:55:18 +00:00
Laurent Rineau
dc17ec331b
backport of a few improvements from autotest_cgal_with_cmake
2008-03-13 15:44:20 +00:00
Laurent Rineau
487541cf0e
Commit several improvement i made:
...
- 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.
2008-03-13 14:01:32 +00:00
Fernando Cacciola
9dfbff50b8
Fixed leftover from local changes
2008-03-13 13:44:33 +00:00
Laurent Rineau
9f23b7b18f
- New CPAN dependancies:
...
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'.
2008-03-13 13:41:23 +00:00
Fernando Cacciola
412e9d6e7c
Fixes for cygwin, cl.exe and nmake
2008-03-13 12:55:12 +00:00
Fernando Cacciola
45b476a299
Remove 'tee' redirection
2008-03-11 17:46:20 +00:00
Laurent Rineau
81e9f4c166
Fix the 'make clean' part: one needs to specify -fMakefile, so that we are
...
sure that no other makefile can be used.
2008-03-11 09:32:15 +00:00
Fernando Cacciola
b71c0b9946
Fix last eval line
2008-03-10 15:52:35 +00:00
Fernando Cacciola
d9290833c2
Fixed copying of previous cmake cache
2008-03-10 15:52:14 +00:00
Laurent Rineau
1d84011f67
Use "make VERBOSE=1", when compiling tests with cmake, so that one can see
...
the command lines.
2008-03-10 13:24:55 +00:00
Fernando Cacciola
8eca6a9e15
Put testing routine back on background
2008-03-07 15:33:54 +00:00
Fernando Cacciola
69e8d74d6c
autotest with cmake update
2008-03-06 16:50:44 +00:00
Fernando Cacciola
b704509dcf
Examples/Demos/Test CMake scripts updated
2008-03-05 21:14:02 +00:00
Fernando Cacciola
a2642a2f34
autotest_cgal_with_cmake update
2008-03-05 20:42:26 +00:00
Laurent Rineau
27806dd895
New script to test if one can send test results to GeometryFactory's
...
server.
2008-02-29 08:59:21 +00:00
Laurent Rineau
e0a4e48fd4
New testsuite process:
...
- release is now generated at
https://cgal.geometryfactory.com/CGAL/Members/Releases/
- tests results are collected on the same machine, via scp.
2008-02-28 15:18:40 +00:00
Fernando Cacciola
afddfc4fca
CMake scripts for demos/examples/test added
2008-02-06 19:06:24 +00:00
Fernando Cacciola
5f5cd5f136
Remove call to C2Vcproj (now superseeded by cmake)
2008-02-05 15:44:33 +00:00
Fernando Cacciola
adc4f3f54f
support for multiple platforms added
2008-01-02 17:35:49 +00:00
Fernando Cacciola
b691c1bffe
first cut of autotest with cmake added
2007-12-28 17:43:12 +00:00
Sylvain Pion
d49e006c53
Remove default argument "0" to calls to assertion_fail() et al,
...
as the default is now the empty string "".
It should fix the problem that we have lost the assertion messages
(seeing "what(): basic_string::_S_construct NULL not valid" instead),
for packages that use package-specific assertion macros.
2007-12-21 21:58:27 +00:00
Fernando Cacciola
77982c3048
More buid/svn tree managment scripts
2007-12-06 20:45:12 +00:00
Sylvain Pion
3c9c8088c1
Remove obsolete file checks.
2007-12-03 22:47:55 +00:00
Sylvain Pion
a467612e9a
Rename Packages to package_info
2007-12-03 22:45:12 +00:00
Sylvain Pion
0d9cf9ab38
Document the fact that changes.txt, description.txt, long_description.txt and maintainer
...
have moved. Remove the code dealing with these files in create_internal_release.
2007-12-02 15:24:02 +00:00
Sylvain Pion
aa0c42ebcb
typo
2007-11-25 23:14:42 +00:00
Sylvain Pion
ce87b31d68
long_description.txt was forgotten in the list of files moved to $CGAL/Packages/$Package/.
2007-11-25 10:23:17 +00:00
Fernando Cacciola
1784196317
Shallow-release creation scripts added
2007-11-06 04:44:35 +00:00
Sylvain Pion
7c86a46f54
Automatically do not submit "Doxyfile", "*.dxy", and variants of "TODO".
2007-11-03 17:50:17 +00:00
Fernando Cacciola
6ef1fdb3e6
Fixed handling of "." and ".."
2007-09-10 14:06:14 +00:00
Sylvain Pion
4da7713aa8
Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
...
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion
1fc5d5bce6
autotest_cgal now passes $ULIMIT_OPTIONS to the remote machines' ulimit command.
2007-07-23 08:58:48 +00:00
Sylvain Pion
f69bd58811
Just discovered that sed has a practical "-i" option to edit files in place.
2007-05-04 10:15:40 +00:00
Sylvain Pion
ca0b98ef1d
Fix VERSION file in public tarballs.
2007-05-04 09:34:04 +00:00
Laurent Rineau
38696fb3c9
*** empty log message ***
2007-04-03 14:55:12 +00:00
Laurent Rineau
19474eb0b0
Improved checks.
2007-04-03 14:09:32 +00:00
Laurent Rineau
6052258985
New script that can detect incorrect (or missing) SVN keywords (such as
...
"$Source:$, which is a CVS keyword).
2007-04-03 13:32:22 +00:00
Joachim Reichel
b0490f792a
handle relative paths as argument for the -a option
2007-03-25 12:50:28 +00:00
Joachim Reichel
d8bdbd0ac3
update list of extensions and exceptions
...
check if it is safe to use a subdirectory called 'stats'
2007-03-18 20:38:23 +00:00
Joachim Reichel
4f47903a25
moved src/Core to src/CGALCore
...
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Laurent Rineau
160875b14c
new script check_no_CGAL_USE_without_includes_before that checks for use of
...
CGAL_USE_* macros before the first inclusion of a CGAL header.
2007-03-12 14:50:23 +00:00
Sylvain Pion
2e95a47ebe
Pass down $MAKEFLAGS to install_cgal when building the release.
...
(not yet to the test-suite as it would interfere with the current
mechanism to parallelize the test-suite).
2007-03-10 20:34:44 +00:00
Sylvain Pion
6cd197df85
Darwin porting
2007-03-10 17:47:19 +00:00
Sylvain Pion
732f926025
The script I use to cleanup files with leading and trailing empty lines
2007-03-10 16:47:06 +00:00
Sylvain Pion
1f088ecde2
replace copy-pasted code by calling create_cgal_test --no-run for demos
2007-03-09 22:58:30 +00:00
Sylvain Pion
d7494960f0
Add a --no-run option which avoids executing (to be used for demos)
2007-03-09 22:52:40 +00:00
Andreas Fabri
d305869dc5
Added FTP_OPTS as cygwin and Linux ftp have different options
2007-02-28 09:54:05 +00:00
Sylvain Pion
158fedcd9f
Remove the copy of config/testfiles to test/Configuration, since it's not needed
...
anymore since we now have the install.log in the Installation line of the test-suite.
And it makes the tarball one step closer from the SVN content.
2007-02-15 23:16:51 +00:00
Sylvain Pion
aa2b3f8100
replace copy-pasted inline create_cgal_test by calling the script
2007-02-15 23:03:43 +00:00
Sylvain Pion
ea28376074
synchronize with the old way from create_internal_release
2007-02-15 22:53:44 +00:00
Sylvain Pion
e033f248fb
make it the same as the cgal_test created by create_internal_release
2007-02-15 22:33:49 +00:00
Sylvain Pion
bb090b6ce6
Only considers those *.C and *.cpp files that contain
...
a main() function (more precisely, that match "\<main\>").
2007-02-15 16:02:11 +00:00
Sylvain Pion
83b3155d82
remove duplicate/buggy copy of the install.log files
2007-02-07 14:38:40 +00:00
Laurent Rineau
1cf3971452
- fix creation of the source RPM.
...
- new option --verbose, to set log to std out instead of the logfile
- do not try to remove files of the public release, if $DO_PUBLIC is empty.
2007-01-31 18:40:02 +00:00
Sylvain Pion
98fb3fc5bb
Add -p (passive mode) to FTP, otherwise it doesn't work on some sites.
...
(I hope it will not break other sites...)
2007-01-28 09:59:45 +00:00
Sylvain Pion
5ac99beace
Remove 2 obsolete scripts dealing with adding/removing useless protect macros.
2007-01-24 18:03:00 +00:00
Sylvain Pion
9b7a13a3ed
Remove obsolete modules creation scripts.
2007-01-24 16:07:20 +00:00
Sylvain Pion
6ab2e23c59
Cleanup : replace all log redirections " >> ${LOGFILE} 2>&1 " by a unique
...
"exec" command (thanks for the hint from an anonymous developer).
2007-01-24 15:58:22 +00:00
Laurent Rineau
ec68e6c9f9
Fix the src.rpm generation.
2007-01-24 15:37:19 +00:00
Andreas Meyer
4ec2c7f37f
testsuite webpage now has entries for libCGAL*
2007-01-11 22:32:08 +00:00
Sylvain Pion
1cf931a3d1
Fix last change for the case where TEST_DIR_ROOT is defined (e.g. to /tmp).
2007-01-06 23:12:28 +00:00
Sylvain Pion
afa01f1d5d
web files are now on agrion instead of bombyx (redirects make it transparent).
2006-12-19 13:17:02 +00:00
Sylvain Pion
0690df2a39
Update cgal-develop mail adress.
...
And comment out mail sending, as I doubt it's that useful.
2006-08-25 06:56:28 +00:00
Andreas Meyer
692d68bffe
bugfix: for some machines, the commandlines became too long.
...
solution: echo into a script and execute this script
2006-08-14 13:18:56 +00:00
Laurent Rineau
db20bb4393
Revert revision 32553.
...
And modify "define internal_release.*" to
"define +internal_release +[0-9]+".
2006-07-17 15:59:15 +00:00
Laurent Rineau
91074e07b4
Change the way of specifying the internal release number, for RPMS.
2006-07-17 12:33:44 +00:00
Sylvain Pion
c8b5db64c9
- Add better command-line parsing code
...
- Add a "--public" option that selects building of public versions.
(so it's disabled by default)
2006-07-14 09:32:35 +00:00
Menelaos Karavelas
9ce4a9edb4
fixed error
2006-07-14 09:24:18 +00:00
Menelaos Karavelas
d3d02e921c
now the create_macosx_installer script takes the CGAL version as an argument
2006-07-14 09:22:39 +00:00
Sylvain Pion
21db610b9f
Adding the "--rpm" option, and it is necessary to build the SRPMs.
2006-07-14 08:43:58 +00:00
Sylvain Pion
28b8819f3e
Add an option to not require the version_number file,
...
and if not there, assume "0" as internal version number.
2006-07-14 08:21:32 +00:00
Sylvain Pion
d88e2d91c8
Change the generated \cgalversion to be the public name, and add \cgalinternalversion.
2006-07-14 07:47:12 +00:00
Sylvain Pion
665737af0f
Spot .cpp files under test/ as well.
2006-07-12 13:56:53 +00:00
Sylvain Pion
8fd4f75282
Remove remove_line_directives (I have not seen any use of it since years)
2006-07-12 13:55:52 +00:00
Sylvain Pion
f9fd5fd680
Add command-line options:
...
--help
--do-it
2006-07-12 12:50:03 +00:00
Sylvain Pion
5a1d4b985b
- Create a new file $CGAL/VERSION which contains the version
...
number and no carriage return.
- Use it in install_cgal instead of parsing <CGAL/version.h>.
2006-07-12 10:01:06 +00:00
Sylvain Pion
4e5bf788d5
Use `pwd` instead of /home/spion/...
2006-07-12 09:28:01 +00:00
Sylvain Pion
b28e8a422d
Remove building of doc_pdf/Installation.pdf in the public
...
versions of the releases. Updates some files mentioning it.
2006-07-06 07:43:40 +00:00
Laurent Rineau
ed49473c10
Fix the handling of internal release numbers, in the rpm spec.
...
I should be more robust, now.
2006-07-01 20:55:13 +00:00
Sylvain Pion
2a18c5f092
In addition to the "CGAL-I" symbolic link, add a link
...
like "CGAL-3.3-I".
2006-06-13 19:27:24 +00:00
Sylvain Pion
395e657a1b
Another attempt at using a constant file for test/makefile
...
rather than something generated by create_internal_release.
2006-05-27 11:15:06 +00:00
Sylvain Pion
fd4442b1c8
Undo last change. Actually the test/makefile is used by autotest_cgal.
2006-05-25 21:15:17 +00:00