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
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
d86e6f2485
Added shell script to generate cmake scripts
2008-02-05 15:29:41 +00:00
Sylvain Pion
9f5bad92a1
Remove my name from maintainer files where it does not resonnably make any sense anymore.
2008-01-19 14:29:27 +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
a46b55bf71
The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
...
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +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
Joachim Reichel
cd1a040d2e
remove -w and -g option of install_cgal
...
remove makefile variables CGAL_WINDOW_LDFLAGS, CGAL_GEOWIN_LDFLAGS and CGAL_QT_LDFLAGS
(see #1894 )
2007-03-09 22:53:24 +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
Laurent Rineau
8138bc22d7
More unification between .C and .cpp cases.
2007-02-22 11:26:59 +00:00
Laurent Rineau
1fcf46e3a1
- Unify create_makefile_entry for .C and .cpp files.
...
- Remove tabs from the source code of cgal_create_makefile, use printf and
\t instead
2007-02-22 11:15:07 +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