Commit Graph

23 Commits

Author SHA1 Message Date
Laurent Rineau 4c5b5843e3 sed -i -e 's/egrep/grep -E/g' 2022-07-01 16:19:36 +02:00
Maxime Gimeno 657ba50904 - call bash instead of only the script
Don't try to test skipped packages in run_testsuite_with_cmake
2021-04-19 09:03:20 +02:00
Laurent Rineau a1ea396196 Patch for MacOS
https://stackoverflow.com/a/21118126/1728537

> You can use
>
>     brew install coreutils
>
> And then whenever you need timeout, use
>
>     gtimeout
2020-06-17 12:38:59 +02:00
Laurent Rineau 7c8bb622a7 Whitespace fixes 2020-06-17 12:35:42 +02:00
Laurent Rineau 3468c7bf32 Use `timeout` if available, instead of a system of sleep/kill
The GNU coreutils software
[timeout](https://man7.org/linux/man-pages/man1/timeout.1.html) is
a perfect replacement for our buggy function `wait_for_process`.

This patch uses it when available. On Linux, brew, Cygwin, it is
available in the `coreutils` package.
2020-06-17 12:31:36 +02:00
Maxime Gimeno c99cd608aa Rename TIMEOUT and limit it to 2400 2017-06-01 16:32:09 +02:00
Maxime Gimeno b7225bbf07 Increase timeout for polyhedron_demo 2017-06-01 12:05:19 +02:00
Laurent Rineau 32572f889a Fix the current compilation issue on Windows: unset MAKEFLAGS 2012-01-20 16:25:45 +00:00
Laurent Rineau cc0c27f3ed DLLs now may be in $CGAL_DIR/bin 2011-10-18 08:23:57 +00:00
Laurent Rineau 2735ec1571 Initial attempt to allow to run the testsuite with a branch build 2011-10-07 13:42:37 +00:00
Laurent Rineau ed773cba03 On Windows, add $CGAL_DIR/lib to the PATH, if case CGAL is build as DLLs. 2011-10-07 13:41:58 +00:00
Laurent Rineau 2bfa7effb8 First part of a timing feature of the testsuite: the duration of each
cgal_test_with_cmake will be measured and stored in a file, collected by
collect_cgal_testresults_from_cmake

The next part is about how to display those timings in the tests results
pages.
2010-09-15 09:54:54 +00:00
Laurent Rineau 7775c1a323 Revert part of previous commit (mistake). 2010-08-30 17:12:13 +00:00
Laurent Rineau 3c13bf6a4f A testsuite that will really kill cgal_test processes that take too long 2010-08-30 17:03:19 +00:00
Laurent Rineau e783230ad7 More robust shell script: protect variables that contain filenames,
with double quotes.
2010-08-30 13:10:06 +00:00
Laurent Rineau c8dc429a8f Revert revision 49099: I had not well understood what was a processes group
at that time.
2009-11-17 18:19:51 +00:00
Laurent Rineau 03c0ce5e68 Once the timeout is reach, kill -KILL the whole process group, instead of
just the group leader (in case a process catches SIGHUP).
2009-05-04 11:22:42 +00:00
Laurent Rineau 34331f5394 Revert last change. "time" is documented to always return 0 as exit code. :-( 2008-12-01 11:28:15 +00:00
Laurent Rineau 56c9ce1b67 Run cgal_test_with_cmake under "time", so that we can see the running time. 2008-12-01 11:22:29 +00:00
Laurent Rineau 7b885c20d1 Make run_testsuite_with_cmake and run_testsuite ignore icons/ and
resources/ (which are not directories that contain code).
2008-09-29 12:40:33 +00:00
Laurent Rineau 5c22a66393 Blacklist "icons/" and "resources/" in run_testsuite_with_cmake 2008-09-10 10:41:27 +00:00
Fernando Cacciola 45b476a299 Remove 'tee' redirection 2008-03-11 17:46:20 +00:00
Fernando Cacciola a2642a2f34 autotest_cgal_with_cmake update 2008-03-05 20:42:26 +00:00